Skip to content
  • Samuel Rowlinson's avatar
    Fixed minor bug associated with GeometricParameters when resetting param values after scan · e3e7d1f9
    Samuel Rowlinson authored
    GeometricParameter.set_value checks to see if the parameter is changing and doesn't go off
    and update associated ABCD matrices in the outside-of-simulation way (i.e. relatively
    inefficiently) if so. The tunable flag of the param is therefore switched off *before*
    resetting the value in Action.run now rather than afterwards, such that the ABCD matrices
    will be properly reset.
    e3e7d1f9