1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Fixed 3 issues found by static analysis

This commit is contained in:
Maksim Shabunin
2017-12-15 17:28:38 +03:00
parent 62359f70ff
commit 1033f2b1bd
3 changed files with 4 additions and 1 deletions
@@ -783,6 +783,7 @@ public:
if( IS_POWER_LAYER(activ) )
{
Ptr<PowerLayer> activ_power = activ.dynamicCast<PowerLayer>();
CV_Assert(activ_power);
a = activ_power->scale;
b = activ_power->shift;
}