diff options
author | 2016-04-07 10:41:51 -0700 | |
---|---|---|
committer | 2016-04-07 10:41:51 -0700 | |
commit | 8db269e055f214481e96de20c41f6b8659cddc5b (patch) | |
tree | 2502de880a4074d5749c27229f636c5cf1dffb63 /unsupported | |
parent | b89d3f78b21d267ec6f1118b7a8445b9f71d4613 (diff) |
Fixed a typo in a test
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/test/cxx11_tensor_cuda.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_cuda.cu b/unsupported/test/cxx11_tensor_cuda.cu index 5f548ff0c..b1bee6530 100644 --- a/unsupported/test/cxx11_tensor_cuda.cu +++ b/unsupported/test/cxx11_tensor_cuda.cu @@ -152,7 +152,7 @@ void test_cuda_props() { assert(cudaStreamSynchronize(gpu_device.stream()) == cudaSuccess); for (int i = 0; i < 200; ++i) { - VERIFY_IS_EQUAL(out(i), (std::isinf)(in1(i))); + VERIFY_IS_EQUAL(out(i), (std::isnan)(in1(i))); } cudaFree(d_in1); |