Commit ebc9f6f5 authored by Celine Mercier's avatar Celine Mercier

fixed a bug where Cython was casting doubles in floats

parent 2b3f03ec
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment