Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 8, 2024
1 parent 8f16905 commit 1babfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ITensorGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ end
function cuMPO(args...; kwargs...)
return adapt(CuArray, MPO(args...; kwargs...))
end
cuMPO(tn::MPO) = adapt(CuArray, tn)
function randomCuMPO(args...; kwargs...)
return adapt(CuArray, randomMPO(args...; kwargs...))
end
cuMPO(tn::MPO) = cu(tn)
export cuMPO, cuMPS, productCuMPS, randomCuMPO, randomCuMPS
end

0 comments on commit 1babfec

Please sign in to comment.