Skip to content

Commit

Permalink
trying to avoid the error caused by deep copy
Browse files Browse the repository at this point in the history
  • Loading branch information
DeerWhale committed Jan 18, 2024
1 parent 4cd70e5 commit 980227c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/model/tests/test_csvy_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_dimensionality_after_update_v_inner_boundary(
config = Configuration.from_yaml(csvy_config_file)
csvy_model = SimulationState.from_csvy(config, atom_data=atomic_dataset)

new_config = config.deepcopy()
new_config = config
new_config.model.v_inner_boundary = csvy_model.velocity[1]
new_csvy_model = SimulationState.from_csvy(
new_config, atom_data=atomic_dataset
Expand Down

0 comments on commit 980227c

Please sign in to comment.