Changed / for Matx to Matx::div, for symmetry with Matx::mul.
This commit is contained in:
@@ -899,7 +899,7 @@ bool CV_OperationsTest::TestMatxElementwiseDivison()
|
||||
Matx22f mat(2, 4, 6, 8);
|
||||
Matx22f mat2(2, 2, 2, 2);
|
||||
|
||||
Matx22f res = mat / mat2;
|
||||
Matx22f res = mat.div(mat2);
|
||||
|
||||
if(res(0, 0) != 1.0) throw test_excep();
|
||||
if(res(0, 1) != 2.0) throw test_excep();
|
||||
|
Reference in New Issue
Block a user