Changeset 318 in flair-src for trunk/lib/FlairCore/src/Matrix_impl.cpp
- Timestamp:
- Jul 3, 2019, 5:05:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Matrix_impl.cpp
r214 r318 27 27 int n) 28 28 : elementDataType(_elementDataType) { 29 descriptor = new cvmatrix_descriptor(rows, cols);29 descriptor = new MatrixDescriptor(rows, cols); 30 30 Init(self, n); 31 31 } 32 32 33 33 Matrix_impl::Matrix_impl(Matrix *self, 34 const cvmatrix_descriptor *inDescriptor,34 const MatrixDescriptor *inDescriptor, 35 35 flair::core::ScalarType const &_elementDataType, 36 36 int n) 37 37 : elementDataType(_elementDataType) { 38 descriptor = new cvmatrix_descriptor(inDescriptor->Rows(), inDescriptor->Cols());38 descriptor = new MatrixDescriptor(inDescriptor->Rows(), inDescriptor->Cols()); 39 39 40 40 for (uint32_t i = 0; i < descriptor->Rows(); i++) {
Note:
See TracChangeset
for help on using the changeset viewer.