Skip to content

Commit

Permalink
Filter: SlewCalculator2D typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Feb 12, 2025
1 parent 14cbc19 commit 4d424a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Filter/SlewCalculator2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ void SlewCalculator2D::update(const Vector2f& sample, float dt)
// get last oscillation slew rate
float SlewCalculator2D::get_slew_rate() const
{
return safe_sqrt(sq(xlimiter.get_slew_rate()) + sq(xlimiter.get_slew_rate()));
return safe_sqrt(sq(xlimiter.get_slew_rate()) + sq(ylimiter.get_slew_rate()));
}

0 comments on commit 4d424a8

Please sign in to comment.