Skip to content

Commit

Permalink
Fixes issues with functions being deep copyied
Browse files Browse the repository at this point in the history
  • Loading branch information
HKaras committed Nov 26, 2024
1 parent a6fbbfa commit 76cfed1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deerlab/fitresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,10 @@ def propagate(self, model, *constants, lb=None, ub=None,samples=None):
responseUncert : :ref:`UQResult`
Uncertainty quantification of the model's response.
"""
model = model.copy()


try:
model = model.copy()
modelparam = model._parameter_list('vector')
modelparam, fitparams, fitparam_idx = self._extarct_params_from_model(model)

Expand Down

0 comments on commit 76cfed1

Please sign in to comment.