diff --git a/resqpy/well/_blocked_well.py b/resqpy/well/_blocked_well.py index 720d4230..0d07d66d 100644 --- a/resqpy/well/_blocked_well.py +++ b/resqpy/well/_blocked_well.py @@ -3468,7 +3468,7 @@ def add_grid_property_to_blocked_well(self, uuid_list): for part in parts: array = gridpc.cached_part_array_ref(part) indices = self.cell_indices_for_grid_uuid(grid.uuid) - bwarray = np.empty(shape = (indices.shape[0],)) + bwarray = np.empty(shape = (indices.shape[0],), dtype=array.dtype) for i, ind in enumerate(indices): bwarray[i] = array[tuple(ind)] bwpc.add_cached_array_to_imported_list(