Changed / for Matx to Matx::div, for symmetry with Matx::mul.

This commit is contained in:
Roman Donchenko
2013-07-16 12:25:26 +04:00
parent 3443fd85cd
commit 924fc070f0
2 changed files with 10 additions and 7 deletions

View File

@@ -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();