Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed Nov 4, 2024
1 parent d6b2503 commit c87a109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rogue/interfaces/stream/Frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ boost::python::object ris::Frame::getNumpy(uint32_t offset, uint32_t count, bp::
int numpy_type;
PyObject* dtype_pyobj = dtype.ptr(); // Get the raw PyObject from the Boost.Python object
if (PyArray_DescrCheck(dtype_pyobj)) {
numpy_type = (reinterpret_case<PyArray_Descr*>(dtype_pyobj))->type_num;
numpy_type = (reinterpret_cast<PyArray_Descr*>(dtype_pyobj))->type_num;
} else {
throw(rogue::GeneralError::create("Frame::getNumpy", "Invalid dtype argument. Must be a NumPy dtype object."));
}
Expand Down

0 comments on commit c87a109

Please sign in to comment.