Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

various fixed for issues found by Coverity #228

Closed
wants to merge 1 commit into from

Conversation

RomanBapst
Copy link
Contributor

Signed-off-by: Roman bapstroman@gmail.com

Signed-off-by: Roman <bapstroman@gmail.com>
@@ -397,8 +397,6 @@ void Ekf::fuseOptFlow()
// run innovation consistency check
optflow_test_ratio[1] = sq(_flow_innov[1]) / (sq(math::max(_params.flow_innov_gate, 1.0f)) * _flow_innov_var[1]);

} else {
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right fix or is the condition above bad?

@RomanBapst
Copy link
Contributor Author

Closing in favour of #229

@RomanBapst RomanBapst closed this Jan 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants