From 52b36a7030796006471ca0c2a5c467386c46d465 Mon Sep 17 00:00:00 2001 From: Rob Falck Date: Tue, 8 Aug 2023 15:43:59 -0400 Subject: [PATCH] cleanup --- dymos/trajectory/trajectory.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dymos/trajectory/trajectory.py b/dymos/trajectory/trajectory.py index 3a73ce655..ffab7c13f 100644 --- a/dymos/trajectory/trajectory.py +++ b/dymos/trajectory/trajectory.py @@ -51,16 +51,7 @@ class Trajectory(om.Group): _phase_graph : nx.DiGraph A graph of linked phases. """ - def __init__(self, parallel_phases=True, **kwargs): - """ - Initialize a Trajectory instance. - - Parameters - ---------- - parallel_phases : bool - If True, make the phases subsystem a ParallelGroup otherwise - it will be a standard OpenMDAO Group. - """ + def __init__(self, **kwargs): super(Trajectory, self).__init__(**kwargs) self._linkages = {} @@ -68,7 +59,7 @@ def __init__(self, parallel_phases=True, **kwargs): self._phase_graph = nx.DiGraph() self.parameter_options = {} - self.phases = om.ParallelGroup() if parallel_phases else om.Group() + self.phases = om.ParallelGroup() def initialize(self): """