Skip to content

Commit

Permalink
[CodeFactor] Apply fixes to commit 43380f1
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Nov 8, 2024
1 parent 43380f1 commit 2a72b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oscillators/Fisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected override void ManageState(bool isNew)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private double NormalizePrice(double price, double min, double max)
{
return 2 * ((price - min) / (max - min) - 0.5);
return 2 * (((price - min) / (max - min)) - 0.5);
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down

0 comments on commit 2a72b28

Please sign in to comment.