Skip to content

Commit 66a7a77

Browse files
Update ext/LinearSolveCUSOLVERRFExt.jl
1 parent 3bed417 commit 66a7a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/LinearSolveCUSOLVERRFExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function SciMLBase.solve!(cache::LinearSolve.LinearCache, alg::LinearSolve.CUSOL
6868
u_gpu = cache.u isa CUDA.CuArray ? cache.u : CUDA.CuArray(cache.u)
6969

7070
# Solve
71-
copy!(u_gpu, b_gpu)
71+
copyto!(u_gpu, b_gpu)
7272
ldiv!(F, u_gpu)
7373

7474
# Copy back to CPU if needed

0 commit comments

Comments
 (0)