Skip to content

Commit

Permalink
Add parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
FredM67 committed Mar 8, 2024
1 parent 843ad1c commit 52892c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/MathPerfTests/MathPerfTests.ino
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public:

auto getAverageD() const
{
return ema << 1 - ema_ema;
return (ema << 1) - ema_ema;
}

private:
Expand Down

0 comments on commit 52892c2

Please sign in to comment.