mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 02:58:05 +00:00
[CodeFactor] Apply fixes to commit 9697fac
This commit is contained in:
@@ -78,7 +78,7 @@ public sealed class Tema : AbstractBase
|
||||
_alpha = alpha;
|
||||
_decay = 1.0 - alpha;
|
||||
Name = $"Tema(α={alpha:F4})";
|
||||
WarmupPeriod = (int)(3 * (2.0 / alpha - 1.0));
|
||||
WarmupPeriod = (int)(3 * ((2.0 / alpha) - 1.0));
|
||||
_handler = Handle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user