mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
error message
This commit is contained in:
parent
2754367628
commit
0cc8a3e86e
@ -74,7 +74,7 @@ var getBufferMethodName = function(bytes, dataType, endianness, read){
|
||||
} else if(bytes === 16){
|
||||
fnName += (dataType === "U" ? "U" : "")+"Int16"+endianness;
|
||||
} else {
|
||||
throw("This matrix type ("+type+") is not compatible with fromArray, you can implement if you need it")
|
||||
throw("This matrix type ( CV_"+bytes+dataType+") is not compatible with fromArray, you can implement if you need it")
|
||||
}
|
||||
return fnName;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user