Skip to content

Commit

Permalink
Merge pull request #41 from fund-model/deepcopy-mcs
Browse files Browse the repository at this point in the history
Return a copy of the simulation definition from getmcs
  • Loading branch information
davidanthoff authored Oct 4, 2019
2 parents 1a4bf35 + 50b22e6 commit 3292285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/montecarlo/defmcs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ end


function getmcs()
return fund_default_mcs
return deepcopy(fund_default_mcs)
end

0 comments on commit 3292285

Please sign in to comment.