Skip to content

Commit

Permalink
AP_Compass: fix sitl build
Browse files Browse the repository at this point in the history
  • Loading branch information
jschall committed Mar 12, 2015
1 parent 50c0ed9 commit d4d1274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_Compass/CompassCalibrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ float CompassCalibrator::det6x6(const float C[36])
}

f = A[0];
isodd = FALSE;
isodd = false;
for (jy = 0; jy < 5; jy++) {
f *= A[(jy + 6 * (1 + jy)) + 1];
if (ipiv[jy] > 1 + jy) {
Expand Down Expand Up @@ -1130,7 +1130,7 @@ float CompassCalibrator::det9x9(const float C[81])
}

f = A[0];
isodd = FALSE;
isodd = false;
for (jy = 0; jy < 8; jy++) {
f *= A[(jy + 9 * (1 + jy)) + 1];
if (ipiv[jy] > 1 + jy) {
Expand Down

0 comments on commit d4d1274

Please sign in to comment.