Skip to content

Commit

Permalink
Issue #180: Deepcopy comms to prevent mutating config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 committed Sep 23, 2024
1 parent 011f851 commit 0661f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsk_rl/gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(

if communicator is None:
communicator = NoCommunication()
self.communicator = communicator
self.communicator = deepcopy(communicator)
self.communicator.link_satellites(self.satellites)

self.sim_rate = sim_rate
Expand Down

0 comments on commit 0661f89

Please sign in to comment.