Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Jan 17, 2025
1 parent 5b4d245 commit 27bd715
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ julia> Pkg.add("ITensors")

````julia
using ITensors: ITensors, ITensor, Index
````

TODO: This should be `TensorAlgebra.qr`.

````julia
using LinearAlgebra: qr
using NamedDimsArrays: NamedDimsArray, aligndims, dimnames, name, unname
using NamedDimsArrays: aligndims, unname
using Test: @test
i = Index(2)
j = Index(2)
Expand Down
1 change: 0 additions & 1 deletion examples/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[deps]
ITensorBase = "4795dd04-0d67-49bb-8f44-b89c448a1dc7"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NamedDimsArrays = "60cbd0c0-df58-4cb7-918c-6f5607b73fde"
3 changes: 1 addition & 2 deletions examples/README.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ julia> Pkg.add("ITensors")
# ## Examples

using ITensors: ITensors, ITensor, Index
# TODO: This should be `TensorAlgebra.qr`.
using LinearAlgebra: qr
using NamedDimsArrays: NamedDimsArray, aligndims, dimnames, name, unname
using NamedDimsArrays: aligndims, unname
using Test: @test
i = Index(2)
j = Index(2)
Expand Down
2 changes: 1 addition & 1 deletion test/test_aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ using Aqua: Aqua
using Test: @testset

@testset "Code quality (Aqua.jl)" begin
Aqua.test_all(ITensors; persistent_tasks=false)
Aqua.test_all(ITensors; persistent_tasks=false, ambiguities=false)
end

0 comments on commit 27bd715

Please sign in to comment.