Skip to content

Commit

Permalink
calib3d: uninitialzed fields in usac
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Nov 12, 2020
1 parent 5564d73 commit d986cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calib3d/src/usac.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ struct SPRT_history {
double epsilon, delta, A;
// number of samples processed by test
int tested_samples; // k
SPRT_history () {
SPRT_history () : epsilon(0), delta(0), A(0) {
tested_samples = 0;
}
};
Expand Down

0 comments on commit d986cc4

Please sign in to comment.