diff options
Diffstat (limited to 'test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp')
-rw-r--r-- | test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp b/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp index a8747bd7c83b..5e6cb0d523c2 100644 --- a/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp +++ b/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp @@ -46,11 +46,11 @@ test() void test_edges() { - const unsigned N = sizeof(x) / sizeof(x[0]); + const unsigned N = sizeof(testcases) / sizeof(testcases[0]); for (unsigned i = 0; i < N; ++i) { - double r = real(x[i]); - double theta = imag(x[i]); + double r = real(testcases[i]); + double theta = imag(testcases[i]); std::complex<double> z = std::polar(r, theta); switch (classify(r)) { |