From c9f914e1ac65a8bfcba1860e96c3c485535e6518 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Fri, 3 Jan 2025 11:57:18 +0200 Subject: [PATCH] Explicitly set the numpy type in _write_array --- tiledb/array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiledb/array.py b/tiledb/array.py index 986c693e09..22d1fbd91b 100644 --- a/tiledb/array.py +++ b/tiledb/array.py @@ -899,7 +899,7 @@ def _write_array( q.set_data_buffer( buffer_name, output_values[i], - buffer_sizes[i] * ncells, + np.uint64(buffer_sizes[i] * ncells), ) # Set offsets buffer