Skip to content

Commit

Permalink
Merge pull request #307 from AustinSchuh/mse_err_rename
Browse files Browse the repository at this point in the history
Rename missnamed err to mse.
  • Loading branch information
christian-rauch authored Dec 30, 2023
2 parents 5e58950 + e5a4b8d commit 4a689cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apriltag_quad_thresh.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,10 +904,10 @@ int fit_quad(
int i0 = indices[i];
int i1 = indices[(i+1)&3];

double err;
fit_line(lfps, sz, i0, i1, lines[i], NULL, &err);
double mse;
fit_line(lfps, sz, i0, i1, lines[i], NULL, &mse);

if (err > td->qtp.max_line_fit_mse) {
if (mse > td->qtp.max_line_fit_mse) {
res = 0;
goto finish;
}
Expand Down

0 comments on commit 4a689cc

Please sign in to comment.