Skip to content

Commit

Permalink
cleanup 1
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Jul 26, 2023
1 parent 3378689 commit 14a28af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dymos/phase/test/test_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_timeseries_gl(self, test_smaller_timeseries=False):
map_type_to_promnames = {'dymos.type:time': {'time'},
'dymos.type:t_phase': {'time_phase'},
'dymos.type:control': {'theta'},
'dymos.type:parameter': {'g'},
'dymos.type:parameter': set() if test_smaller_timeseries else {'g'},
'dymos.type:state': {'x', 'y', 'v'}}

for dymos_type, prom_names in map_type_to_promnames.items():
Expand Down Expand Up @@ -158,6 +158,7 @@ def test_timeseries_radau(self, test_smaller_timeseries=False):
phase.add_objective('time_phase', loc='final', scaler=10)

phase.timeseries_options['include_state_rates'] = True
phase.timeseries_options['include_t_phase'] = True

p.model.options['assembled_jac_type'] = 'csc'
p.model.linear_solver = om.DirectSolver()
Expand Down

0 comments on commit 14a28af

Please sign in to comment.