Skip to content

Commit

Permalink
fixing style issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
njnes committed Aug 21, 2024
1 parent ef0de3c commit 2a54da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monetdbe/_cffi/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def append(self, table: str, data: Mapping[str, np.ndarray], schema: str = 'sys'
work_column.data = t
else:
if not column_values.flags.c_contiguous: # Checks if the array is C-contiguous
column_values = np.ascontiguousarray(column_values) # Converts the array to C-contiguous
column_values = np.ascontiguousarray(column_values) # Converts the array to C-contiguous
p = ffi.from_buffer(f"{type_info.c_string_type}*", column_values)
cffi_objects.append(p)
work_column.data = p
Expand Down

0 comments on commit 2a54da1

Please sign in to comment.