fixed a bug where Cython was casting doubles in floats
This commit is contained in:
@ -21,7 +21,7 @@ cdef class OBIDMS_column_float(OBIDMS_column):
|
||||
if value == OBIFloat_NA :
|
||||
result = None
|
||||
else :
|
||||
result = <float> value
|
||||
result = <double> value
|
||||
return result
|
||||
|
||||
cpdef set_item(self, size_t line_nb, str element_name, obifloat_t value):
|
||||
|
Reference in New Issue
Block a user