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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user