Fix a corner case of isclose usage

nt2 does not handle bool parameters for is_nan or isfinite...
Merge pull request #282 from serge-sans-paille/fix-isclose

Fix a corner case of isclose usage