mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 04:58:08 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ public class Rma : AbstractBase
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
private double CalculateRma(double input)
|
||||
{
|
||||
return _k * input + _oneMinusK * _lastRma;
|
||||
return (_k * input) + (_oneMinusK * _lastRma);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
||||
Reference in New Issue
Block a user