|
From: <kin...@us...> - 2023-08-03 04:57:49
|
Revision: 7145
http://sourceforge.net/p/teem/code/7145
Author: kindlmann
Date: 2023-08-03 04:57:47 +0000 (Thu, 03 Aug 2023)
Log Message:
-----------
more handling of NaN
Modified Paths:
--------------
teem/trunk/python/cffi/exult.py
Modified: teem/trunk/python/cffi/exult.py
===================================================================
--- teem/trunk/python/cffi/exult.py 2023-08-02 00:00:35 UTC (rev 7144)
+++ teem/trunk/python/cffi/exult.py 2023-08-03 04:57:47 UTC (rev 7145)
@@ -736,7 +736,7 @@
ret = '_equals_one' # this is defined in lliibb.py
elif errval_t.endswith('*') and 'NULL' == errval:
ret = '_equals_null' # this is defined in lliibb.py
- elif 'AIR_NAN' == errval:
+ elif 'AIR_NAN' == errval or 'nan' == errval.lower():
ret = '_math.isnan'
else:
evlist = errval.split('|') # list (likely length-1) of error-indicating return values
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|