diff --git a/tiledb/libtiledb.pyx b/tiledb/libtiledb.pyx index f83aa6800a..dd871839b4 100644 --- a/tiledb/libtiledb.pyx +++ b/tiledb/libtiledb.pyx @@ -2705,7 +2705,7 @@ cdef class DenseArrayImpl(Array): "typed attribute '{}'!".format(name)) if attr.isnullable and name not in nullmaps: - nullmaps[name] = ~np.ma.fix_invalid(val).mask + nullmaps[name] = ~np.ma.masked_invalid(val).mask val = np.nan_to_num(val) val = np.ascontiguousarray(val, dtype=attr.dtype) except Exception as exc: