geomagnetic-field: Fix comparison of float