Closed pbouda95 closed 4 years ago
The issue boils down to this test, which was meant to invalidate the result if the calll was unsucessful:
if( r % exit_status .eq. MGIS_SUCCESS) then
v = ieee_value(v, ieee_quiet_nan)
end if
This shall be:
if( r % exit_status .ne. MGIS_SUCCESS) then
v = ieee_value(v, ieee_quiet_nan)
end if
Thanks for reporting !
Several bindings are returning a NaN value, whichever the arguments:
My first investigations were not fruitful so I am opening this ticket ...
Cheers,