mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #11214 from take1014:core_9720
* fix #9720 * Add regression test * Fix calculation method for scale
This commit is contained in:
committed by
Alexander Alekhin
parent
7bc980edaf
commit
d57e5c31c0
@@ -420,7 +420,7 @@ void MatOp::multiply(const MatExpr& e1, const MatExpr& e2, MatExpr& res, double
|
||||
{
|
||||
op = '/';
|
||||
m2 = e2.a;
|
||||
scale /= e2.alpha;
|
||||
scale *= e2.alpha;
|
||||
}
|
||||
else
|
||||
e2.op->assign(e2, m2);
|
||||
|
||||
Reference in New Issue
Block a user