Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard against casting a double NaN to an int. We don't care what value
is returned; however, reportedly, a program can crash in this case, see OSGeo/PROJ#843 At present, the fix is only in place for the C library. Still need to handle other cases of float -> int conversion. (A check already in place in the python library.)
- Loading branch information