Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.

pull/3388/head
bartaandras 10 years ago
parent dce629d0e2
commit 21227ba092
  1. 2
      modules/ml/src/ann_mlp.cpp

@ -618,7 +618,7 @@ public:
scale[j*2] = mj;
scale[j*2+1] = Mj;
}
else
else if( !no_scale )
{
t = t*inv_scale[j*2] + inv_scale[2*j+1];
if( t < m1 || t > M1 )

Loading…
Cancel
Save