Skip to content

L1TopoSimulationUtils: Avoid gcc10 warning.

With gcc10, we were getting a warning in L1TopoDataTypes::to_float if F is 0 that the comparison j<F is always false.

Rework to do the fractional extraction in a single step rather than in a loop. It's faster this way, and in passing avoids the warning.

Merge request reports