Skip to content

Commit

Permalink
Revert explicit clearing of scenes list
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-warren committed May 13, 2024
1 parent 60923f5 commit 18eed3c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gprMax/contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ def run(self):
elif config.sim_config.general["solver"] == "opencl":
print_opencl_info(config.sim_config.devices["devs"])

# Clear list of scenes and model configs, which can be retained when
# gprMax is called in a loop, and want to avoid this.
config.sim_config.scenes = []
# Clear list of model configs, which can be retained when gprMax is
# called in a loop, and want to avoid this.
config.model_configs = []

for i in self.model_range:
Expand Down

0 comments on commit 18eed3c

Please sign in to comment.