Changeset 214 in flair-src for trunk/lib/FlairCore/src/cvmatrix.cpp
- Timestamp:
- 02/07/18 17:49:27 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/cvmatrix.cpp
r15 r214 37 37 this->col = col; 38 38 if (row >= matrix->Rows() || col >= matrix->Cols()) { 39 matrix->Err("index (%i,%i) out of bound (%i,%i)\n", row, col,39 matrix->Err("index (%i,%i) out of bound, max (%i,%i)\n", row, col, 40 40 matrix->Rows() - 1, matrix->Cols() - 1); 41 41 size = 0; … … 133 133 if (row >= (uint32_t)pimpl_->mat->rows || 134 134 col >= (uint32_t)pimpl_->mat->cols) { 135 Warn("index (%i,%i) out of bound (%i,%i)\n", row, col,135 Warn("index (%i,%i) out of bound, max (%i,%i)\n", row, col, 136 136 pimpl_->mat->rows - 1, pimpl_->mat->cols - 1); 137 137 return 0; … … 148 148 if (row >= (uint32_t)pimpl_->mat->rows || 149 149 col >= (uint32_t)pimpl_->mat->cols) { 150 Warn("index (%i,%i) out of bound (%i,%i)\n", row, col,150 Warn("index (%i,%i) out of bound, max (%i,%i)\n", row, col, 151 151 pimpl_->mat->rows - 1, pimpl_->mat->cols - 1); 152 152 return 0; … … 159 159 if (row >= (uint32_t)pimpl_->mat->rows || 160 160 col >= (uint32_t)pimpl_->mat->cols) { 161 Warn("index (%i,%i) out of bound (%i,%i)\n", row, col,161 Warn("index (%i,%i) out of bound, max (%i,%i)\n", row, col, 162 162 pimpl_->mat->rows - 1, pimpl_->mat->cols - 1); 163 163 } else { … … 171 171 if (row >= (uint32_t)pimpl_->mat->rows || 172 172 col >= (uint32_t)pimpl_->mat->cols) { 173 Warn("index (%i,%i) out of bound (%i,%i)\n", row, col,173 Warn("index (%i,%i) out of bound, max (%i,%i)\n", row, col, 174 174 pimpl_->mat->rows - 1, pimpl_->mat->cols - 1); 175 175 } else {
Note:
See TracChangeset
for help on using the changeset viewer.