mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 21:18:04 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -86,7 +86,7 @@ public class Zlema : AbstractBase
|
||||
private double CalculateErrorCorrection()
|
||||
{
|
||||
double lagValue = _buffer[System.Math.Max(0, _buffer.Count - 1 - _lag)];
|
||||
return 2.0 * Input.Value - lagValue;
|
||||
return (2.0 * Input.Value) - lagValue;
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
||||
Reference in New Issue
Block a user