Minor compile fix (Gcc) error: comparing floating point with == or != is unsafe [-Werror=float-equal]