bmad-sim / AtomicAndPhysicalConstants.jl

Julia package for handling particle identification in simulations.
MIT License
0 stars 1 forks source link

`setunits` changes the unit system. #29

Open DavidSagan opened 4 months ago

DavidSagan commented 4 months ago

After the unit system has been set, my feeling is that setunits should not change the unit system unless unitsystem is explicitly set. For example:

julia> setunits(:CGS)
julia> setunits(time = :us)   # This will reset the units system to the default!