calib3d: uninitialzed fields in usac

pull/18786/head
Maksim Shabunin 4 years ago
parent 5564d73071
commit d986cc4861
  1. 2
      modules/calib3d/src/usac.hpp

@ -421,7 +421,7 @@ struct SPRT_history {
double epsilon, delta, A; double epsilon, delta, A;
// number of samples processed by test // number of samples processed by test
int tested_samples; // k int tested_samples; // k
SPRT_history () { SPRT_history () : epsilon(0), delta(0), A(0) {
tested_samples = 0; tested_samples = 0;
} }
}; };

Loading…
Cancel
Save