mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Fixed a typo in a test
This commit is contained in:
parent
b89d3f78b2
commit
8db269e055
@ -152,7 +152,7 @@ void test_cuda_props() {
|
|||||||
assert(cudaStreamSynchronize(gpu_device.stream()) == cudaSuccess);
|
assert(cudaStreamSynchronize(gpu_device.stream()) == cudaSuccess);
|
||||||
|
|
||||||
for (int i = 0; i < 200; ++i) {
|
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);
|
cudaFree(d_in1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user