mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fix typo in Matric convertTo function
This commit is contained in:
parent
fdc2f6b49a
commit
cd7b6d16bd
@ -1893,7 +1893,7 @@ NAN_METHOD(Matrix::ConvertTo) {
|
||||
// param 3 - beta
|
||||
double beta = 0;
|
||||
if (info.Length() >= 4) {
|
||||
DOUBLE_FROM_ARGS(alpha, 3);
|
||||
DOUBLE_FROM_ARGS(beta, 3);
|
||||
}
|
||||
|
||||
self->mat.convertTo(dest->mat, rtype, alpha, beta);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user