Skip to content

STEPPropagator: Try to avoid converting magnetic fileld values from double to float and then back to double

The magnetic field returns double. There should be no reason to convert to float and the back implicitly to double when we do math operations with other double variables or constants.

Actually, we should be losing a bit in accuracy and a bit of time converting from one to the other.

Curious to see if something changes in the CI outputs prb like this is a bit more numerically stable ...

Mentioning @goblirsc and @npetters

Edited by Christos Anastopoulos

Merge request reports