mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 13:58:04 +00:00
[CodeFactor] Apply fixes to commit 43380f1
This commit is contained in:
@@ -63,7 +63,7 @@ public sealed class Fisher : AbstractBase
|
|||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
private double NormalizePrice(double price, double min, double max)
|
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)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
|
|||||||
Reference in New Issue
Block a user