Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed Oct 15, 2024
1 parent 25c5199 commit 0835bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rogue/interfaces/stream/Frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ boost::python::object ris::Frame::getNumpy(uint32_t offset, uint32_t count, bp::
throw(rogue::GeneralError::create("Frame::getNumpy",
"Invalid dtype argument. Must be a NumPy dtype object."));
}

// Create a numpy array to receive it and locate the destination data buffer
npy_intp dims[1] = {count};
PyObject* obj = PyArray_SimpleNew(1, dims, numpy_type);
Expand Down Expand Up @@ -505,7 +505,7 @@ void ris::Frame::setup_python() {
throw(rogue::GeneralError::create("Frame::setup_python",
"Failed to create default dtype object for NPY_UINT8."));
}


bp::class_<ris::Frame, ris::FramePtr, boost::noncopyable>("Frame", bp::no_init)
.def("lock", &ris::Frame::lock)
Expand Down

0 comments on commit 0835bee

Please sign in to comment.