mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -20,7 +20,6 @@ public class HpfTests
|
||||
Assert.StartsWith("HPF", hpf.Name, StringComparison.Ordinal);
|
||||
}
|
||||
|
||||
|
||||
[Fact]
|
||||
public void Calc_ReturnsValue()
|
||||
{
|
||||
|
||||
@@ -122,7 +122,7 @@ public class HpfValidationTests : IDisposable
|
||||
{
|
||||
double ssrc = src[i];
|
||||
|
||||
double term1 = coeff1 * (ssrc - 2.0 * src1 + src2);
|
||||
double term1 = coeff1 * (ssrc - (2.0 * src1) + src2);
|
||||
double term2 = coeff2 * hp1;
|
||||
double term3 = coeff3 * hp2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user