Skip to content

Commit

Permalink
one more update
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Nov 17, 2023
1 parent 3a19fc6 commit cba8c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dymos/trajectory/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ def _configure_solvers(self):
These solvers can be changed through the
'default_nonlinear_solver' and 'default_linear_solver' options.
"""
if self._has_connected_phases:
if self._has_connected_phases and isinstance(self.phases, om.ParallelGroup):
if isinstance(self.phases.nonlinear_solver, om.NonlinearRunOnce):
if self.options['default_nonlinear_solver'] is None:
msg = f'{self.msginfo}: Setting phases.nonlinear_solver to `om.NonlinearBlockJac(iprint=0)`.\n' \
Expand Down

0 comments on commit cba8c29

Please sign in to comment.