[CodeFactor] Apply fixes to commit 9697fac

This commit is contained in:
codefactor-io
2026-03-14 05:03:08 +00:00
parent 9697facfb4
commit e35ff7fa3f
164 changed files with 458 additions and 530 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ public sealed class Htit : AbstractBase
if (_state.Index >= 12)
{
// NaN will propagate if IT buffer contains NaN
return (4.0 * _itBuffer[^1] + 3.0 * _itBuffer[^2] + 2.0 * _itBuffer[^3] + _itBuffer[^4]) * 0.1;
return ((4.0 * _itBuffer[^1]) + (3.0 * _itBuffer[^2]) + (2.0 * _itBuffer[^3]) + _itBuffer[^4]) * 0.1;
}
return price; // May be NaN if no valid input yet