Hi all,

I am using the latest version of nrrdio. It works fine for writing files, but there seems to be a problem with reading files I've just written.

The particular issue is with sanity check failure.
AIR_QNANHIBIT (which is 0 by default I believe) does not coincide with its run-time value of 1.

In particular, in sane.c, line 102,

AIR_QNANHIBIT != (int)mant

returns true.

What could be the cause of this? And what can I do about it?

The target machine runs Windows 7 (x64) and Visual Studio 2013 (I tried Intel compiler as well, same issue). The target application is also 64-bit (basically, 20 lines of code copy-pasted from nrrd file loading tutorial).

Any help is appreciated!

Best regards,
Evgenii