Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proy30 committed Feb 25, 2025
1 parent b6378f9 commit 1b632ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def on_kin_energy_unit_change(**kwargs) -> None:
InputFunctions.update_kin_energy_sim_value()

@state.change("tracking_mode")
def on_tracking_mode_change(tracking_mode, **kwargs) -> None:
if tracking_mode in ("Envelope Tracking", "Reference Tracking"):
def on_tracking_mode_change(**kwargs) -> None:
if state.tracking_mode in ("Envelope Tracking", "Reference Tracking"):
state.space_charge = False
state.csr = False

Expand Down

0 comments on commit 1b632ed

Please sign in to comment.