mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Remove redundant LinearFilter.finiteDifference() argument (#4335)
The number of samples is already determined by the length of the stencil list.
This commit is contained in:
@@ -282,7 +282,7 @@ class LinearFilterTest {
|
||||
stencil[i] = -(samples - 1) / 2 + i;
|
||||
}
|
||||
|
||||
var filter = LinearFilter.finiteDifference(derivative, samples, stencil, h);
|
||||
var filter = LinearFilter.finiteDifference(derivative, stencil, h);
|
||||
|
||||
for (int i = (int) (min / h); i < (int) (max / h); ++i) {
|
||||
// Let filter initialize
|
||||
|
||||
Reference in New Issue
Block a user