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 6a7db53 commit a34a359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ITensorGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export cuITensor, randomCuITensor

# TODO: Change over to `using ITensorMPS`
# once it is registered.
using ITensors.ITensorMPS: MPO, MPS, randomMPS
using ITensors.ITensorMPS: MPO, MPS, randomMPO, randomMPS
function cuMPS(args...; kwargs...)
return adapt(CuArray, MPS(args...; kwargs...))
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_cudiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using Test: @test, @test_broken, @testset
@test_broken collect(CuArray(C)) collect(CuMatrix(Aij, j, i)) * diagm(0 => Dv)
end
@testset "Test contract cuDiagITensors (Diag*Diag -> Diag)" begin
@test_brokrn E * D
@test_broken E * D
## C = E * D
## cC = CuArray(C)
## @test collect(cC) ≈ diagm(0 => Ev) * diagm(0 => Dv)
Expand Down

0 comments on commit a34a359

Please sign in to comment.