checkmate
checkmate copied to clipboard
Fix testing for NA_REAL (fixes #258)
As per the official docs, NA_REAL
shall be tested with the ISNA
macro.
This PR replaces all == NA_REAL
idioms in the code base with ISNA
. A new unit test has been added which fails without the current fix, and passes after the fix.
@mllg can you please take a quick look? This is a very simple bugfix.
Sorry for the late reply. Now merged and I will release a new version this week.