Changed eps checking condition

pull/14050/head
npochhi 6 years ago
parent de8eda5fdf
commit f1a99995c4
  1. 2
      modules/ml/src/ann_mlp.cpp

@ -971,7 +971,7 @@ public:
int count = inputs.rows;
int iter = -1, max_iter = termCrit.maxCount*count;
double epsilon = termCrit.epsilon*count;
double epsilon = (termCrit.type & CV_TERMCRIT_EPS) ? termCrit.epsilon*count : 0;
int l_count = layer_count();
int ivcount = layer_sizes[0];

Loading…
Cancel
Save