mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-08 22:17:44 +00:00
chore: suppress S107 rule for SIMD methods with many parameters
This commit is contained in:
@@ -128,7 +128,7 @@ public sealed class Notch : AbstractBase
|
||||
_state.LastValue = val;
|
||||
}
|
||||
|
||||
TValue result = new TValue(input.Time, y);
|
||||
TValue result = new(input.Time, y);
|
||||
Last = result;
|
||||
PubEvent(result, isNew);
|
||||
return result;
|
||||
|
||||
@@ -206,7 +206,7 @@ public sealed class Yzvama : AbstractBase
|
||||
private void RemoveSorted(double value, int currentCount)
|
||||
{
|
||||
int removePos = LowerBound(_activeSortedYzv, currentCount, value);
|
||||
if (removePos < currentCount && _activeSortedYzv[removePos] == value && removePos < currentCount - 1)
|
||||
if (removePos < currentCount && Math.Abs(_activeSortedYzv[removePos] - value) < EPSILON && removePos < currentCount - 1)
|
||||
{
|
||||
Array.Copy(_activeSortedYzv, removePos + 1, _activeSortedYzv, removePos, currentCount - 1 - removePos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user