[CodeFactor] Apply fixes to commit 4a01f03

This commit is contained in:
codefactor-io
2026-03-11 03:35:12 +00:00
parent 4a01f03cb4
commit 567fa89465
63 changed files with 293 additions and 302 deletions
+2 -2
View File
@@ -440,9 +440,9 @@ public sealed class Dwt : AbstractBase
[MethodImpl(MethodImplOptions.AggressiveInlining)]
static double Get(Span<double> b, int h, int c, int lag)
{
int idx = ((h - 1 - lag) % c + c) % c;
int idx = (((h - 1 - lag) % c) + c) % c;
int maxLag = c - 1;
if (lag > maxLag) { idx = ((h - 1 - maxLag) % c + c) % c; }
if (lag > maxLag) { idx = (((h - 1 - maxLag) % c) + c) % c; }
return b[idx];
}