Skip to content

Commit

Permalink
which
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Jun 25, 2024
1 parent a7be0dc commit 2760129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/asammdf/blocks/cutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,8 @@ static PyObject *data_block_from_arrays(PyObject *self, PyObject *args)
bytes = PyTuple_GET_ITEM(item, 0);
if (!PyArray_IS_C_CONTIGUOUS((PyArrayObject *)bytes))
{
PyErr_SetString(PyExc_ValueError, "All arrays passed to data_block_from_arrays must be C contiguous\n\0");
PY_PRINTF(bytes)
PyErr_SetString(PyExc_ValueError, "All arrays passed to data_block_from_arrays must be C contiguous; i=%d of %d\n\0", i, size);
return NULL;
}
itemsize = PyTuple_GET_ITEM(item, 1);
Expand Down

0 comments on commit 2760129

Please sign in to comment.