FreeCAD: master 5d0cf108

Author Committer Branch Timestamp Parent
chennes wwmayer master 2021-02-09 16:20:54 master 5269d103
Changeset LGTM: Eliminate float-to-double overflow warning

LGTM complains if this calculation is done from inside the sqrt() call
because it sees the explicit cast to float and assumes that sqrt() is
intended to take a double. By adding an intermediate step it should be
clear to LGTM that the float version of sqrt is intended.
mod - src/Mod/Mesh/App/Core/Grid.cpp Diff File