[CodeFactor] Apply fixes to commit 0606491

This commit is contained in:
codefactor-io
2026-03-12 19:37:50 +00:00
parent 060649192f
commit 8f79257155
384 changed files with 1197 additions and 1215 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ public class RmsleTests
for (int i = 0; i < 100; i++)
{
var bar = gbm.Next(isNew: true);
var result = rmsle.Update(bar.Close, bar.Close * (0.8 + 0.4 * (i % 2)));
var result = rmsle.Update(bar.Close, bar.Close * (0.8 + (0.4 * (i % 2))));
Assert.True(result.Value >= 0, $"RMSLE should always be non-negative, got {result.Value}");
}
}