mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-20 19:48:05 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user