File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,12 @@ NAN_METHOD(Mat::New) {
120
120
channels.push_back (channelMat);
121
121
if (i > 0 ) {
122
122
if (channels.at (i - 1 ).rows != channelMat.rows ) {
123
- return Nan::ThrowError (FF_NEW_STRING (" Mat::New - rows "
123
+ return Nan::ThrowError (FF_NEW_STRING (" Mat::New - rows mismatch "
124
124
+ std::to_string (channels.at (i - 1 ).rows ) + " , have " + std::to_string (channelMat.rows )
125
125
+ " at channel " + std::to_string (i)));
126
126
}
127
127
if (channels.at (i - 1 ).cols != channelMat.cols ) {
128
- return Nan::ThrowError (FF_NEW_STRING (" Mat::New - cols "
128
+ return Nan::ThrowError (FF_NEW_STRING (" Mat::New - cols mismatch "
129
129
+ std::to_string (channels.at (i - 1 ).cols ) + " , have " + std::to_string (channelMat.rows )
130
130
+ " at channel " + std::to_string (i)));
131
131
}
You can’t perform that action at this time.
0 commit comments