Skip to content

Commit

Permalink
experimenting with deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
crecine committed May 17, 2024
1 parent c01e2e4 commit c95b98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aviary/mission/gasp_based/ode/flight_path_ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def setup(self):

# TODO: paramport
from copy import deepcopy
flight_path_params = deepcopy(ParamPort())
flight_path_params = deepcopy(ParamPort)()
if analysis_scheme is AnalysisScheme.SHOOTING and kwargs['method'] == 'cruise':
flight_path_params.add_params({
Aircraft.Design.OPERATING_MASS: dict(units='lbm', val=0),
Expand Down

0 comments on commit c95b98a

Please sign in to comment.