mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 02:28:05 +00:00
[CodeFactor] Apply fixes to commit 9697fac
This commit is contained in:
@@ -314,7 +314,7 @@ public sealed class Trim : AbstractBase
|
||||
}
|
||||
|
||||
int trimCount = (int)(count * trimPct / 100.0);
|
||||
int keepCount = count - 2 * trimCount;
|
||||
int keepCount = count - (2 * trimCount);
|
||||
|
||||
if (keepCount < 1)
|
||||
{
|
||||
@@ -341,7 +341,7 @@ public sealed class Trim : AbstractBase
|
||||
}
|
||||
|
||||
int trimCount = (int)(count * trimPct / 100.0);
|
||||
int keepCount = count - 2 * trimCount;
|
||||
int keepCount = count - (2 * trimCount);
|
||||
|
||||
if (keepCount < 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user