Method "ofReal" was removed from the API.
This commit is contained in:
parent
490223af4a
commit
49f3afd6b8
|
@ -301,7 +301,7 @@ public final class FastFourierTransformerTest {
|
|||
final Complex[] x = new Complex[n];
|
||||
for (int i = 0; i < n; i++) {
|
||||
final double t = min + i * (max - min) / n;
|
||||
x[i] = Complex.ofReal(f.value(t));
|
||||
x[i] = Complex.ofCartesian(f.value(t), 0);
|
||||
}
|
||||
final Complex[] expected;
|
||||
final double s;
|
||||
|
|
Loading…
Reference in New Issue