Skip to content

Commit

Permalink
Add missing main call for example file
Browse files Browse the repository at this point in the history
  • Loading branch information
alpertoygar authored Aug 14, 2024
1 parent a777d7a commit d354166
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ def main():
obj, theta, cov = pest.theta_est(calc_cov=True, cov_n=17)
print(obj)
print(theta)


if __name__ == "__main__":
main()

Check warning on line 45 in pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py

View check run for this annotation

Codecov / codecov/patch

pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py#L45

Added line #L45 was not covered by tests

0 comments on commit d354166

Please sign in to comment.