Skip to content

Commit

Permalink
divide attitude error sum by numCorrect to get meaningful average
Browse files Browse the repository at this point in the history
  • Loading branch information
markasoftware committed Apr 8, 2023
1 parent dcf985d commit ad863b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@ static void PipelineComparatorAttitude(std::ostream &os,
}
}

float attitudeErrorMean = attitudeErrorSum / expected.size();
float attitudeErrorMean = attitudeErrorSum / numCorrect;
float fractionCorrect = (float)numCorrect / expected.size();
float fractionIncorrect = (float)numIncorrect / expected.size();

Expand Down

0 comments on commit ad863b2

Please sign in to comment.