diff --git a/test/test_cudss.jl b/test/test_cudss.jl index c7ac796..6ff6089 100644 --- a/test/test_cudss.jl +++ b/test/test_cudss.jl @@ -235,7 +235,7 @@ function cudss_generic() R_gpu = B_gpu - A_gpu * X_gpu @test norm(R_gpu) ≤ √eps(R) - A_gpu2 = rand(T) * A_gpu + A_gpu2 = rand(R) * A_gpu ldlt!(solver, A_gpu2) X_gpu .= B_gpu ldiv!(solver, X_gpu) @@ -258,7 +258,7 @@ function cudss_generic() R_gpu = B_gpu - A_gpu * X_gpu @test norm(R_gpu) ≤ √eps(R) - A_gpu2 = rand(T) * A_gpu + A_gpu2 = rand(R) * A_gpu cholesky!(solver, A_gpu2) X_gpu .= B_gpu ldiv!(solver, X_gpu)