Phase.load_case did not handle negative-duration cases correctly.
The use of np.unique in the method sorts the previous phase time values, which caused the time values and the corresponding unique indices to be reversed.
Tests that were previously skipped due to this issue have been enabled.
coverage: 92.776% (+0.09%) from 92.686% when pulling 4a9bb98633049cb2a0f88cfe9fe4de13deafd3dd on robfalck:load_case_negative_duration into 7fe881998f11545e048ab12ea0e517ac703a9e21 on OpenMDAO:master.
Summary
Phase.load_case
did not handle negative-duration cases correctly.np.unique
in the method sorts the previous phase time values, which caused the time values and the corresponding unique indices to be reversed.Related Issues
Backwards incompatibilities
None
New Dependencies
None