OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
210 stars 67 forks source link

fix for test failure in test_error_estimation.py #1047

Closed naylor-b closed 9 months ago

naylor-b commented 9 months ago

Summary

The Problem 'p' was getting garbage collected too early because 'p' was overwritten by the return val of eval_ode_on_grid. After that call, get_val was being called on the phase and failing because the model was gone at that point.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

coveralls commented 9 months ago

Coverage Status

coverage: 92.671% (-0.3%) from 92.976% when pulling fbd906528f8b2ac039fffa57e3f69cc979cf0b2a on naylor-b:small_test_fix into e9c1ddf84510209861a3f4fff1e4da10becfed59 on OpenMDAO:master.