mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 12:08:05 +00:00
[CodeFactor] Apply fixes to commit 9697fac
This commit is contained in:
@@ -108,7 +108,7 @@ public sealed class Jvoltyn : AbstractBase
|
||||
_normFactor = Math.Abs(_logParam - 1.0) > 1e-10 ? 100.0 / (_logParam - 1.0) : 0.0;
|
||||
|
||||
// same warmup heuristic used in JMA
|
||||
WarmupPeriod = (int)Math.Ceiling(20.0 + 80.0 * Math.Pow(period, 0.36));
|
||||
WarmupPeriod = (int)Math.Ceiling(20.0 + (80.0 * Math.Pow(period, 0.36)));
|
||||
|
||||
_handler = Handle;
|
||||
Name = $"Jvoltyn({period})";
|
||||
|
||||
Reference in New Issue
Block a user