mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 04:09:10 +08:00
Fixed the zeta test
This commit is contained in:
parent
3b76df64fc
commit
e3a184785c
@ -718,7 +718,7 @@ void test_cuda_zeta()
|
|||||||
assert(cudaStreamSynchronize(gpu_device.stream()) == cudaSuccess);
|
assert(cudaStreamSynchronize(gpu_device.stream()) == cudaSuccess);
|
||||||
|
|
||||||
VERIFY_IS_EQUAL(out(0), expected_out(0));
|
VERIFY_IS_EQUAL(out(0), expected_out(0));
|
||||||
VERIFY_IS_APPROX_OR_LESS_THAN(out(3), expected_out(3));
|
VERIFY((std::isnan)(out(3)));
|
||||||
|
|
||||||
for (int i = 1; i < 6; ++i) {
|
for (int i = 1; i < 6; ++i) {
|
||||||
if (i != 3) {
|
if (i != 3) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user