mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -243,7 +243,6 @@ public class SwmaTests
|
||||
swma.Update(new TValue(DateTime.UtcNow.AddSeconds(i), 100.0));
|
||||
}
|
||||
|
||||
|
||||
swma.Update(new TValue(DateTime.UtcNow.AddSeconds(5), double.NaN));
|
||||
// After NaN, last-valid substitution should produce finite result
|
||||
Assert.True(double.IsFinite(swma.Last.Value));
|
||||
|
||||
Reference in New Issue
Block a user