fix to bypass incorrect check on mac
Merge branch '03-ISNAN' into 05-matprod