Skip to content

Commit

Permalink
Double quote q
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham committed Jul 31, 2024
1 parent 2813e79 commit 1214c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pybind11/cucim_py.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ py::object py_read_region(const CuImage& cuimg,
py::buffer_info buf = buffer_info(PyMemoryView_GET_BUFFER(mv.ptr()), false);
if (buf)
{
if (buf.format != 'q')
if (buf.format != "q")
{
throw std::invalid_argument("Expected int64 array-like");
}
Expand Down

0 comments on commit 1214c6e

Please sign in to comment.