Skip to content

Commit ff18fa3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 998cdc0 commit ff18fa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/abstracttensornetwork.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,4 @@ function Base.show(io::IO, mime::MIME"text/plain", graph::AbstractTensorNetwork)
276276
return nothing
277277
end
278278

279-
Base.show(io::IO, graph::AbstractTensorNetwork) = show(io, MIME"text/plain"(), graph)
279+
Base.show(io::IO, graph::AbstractTensorNetwork) = show(io, MIME"text/plain"(), graph)

test/test_beliefpropagation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ using Test: @test, @testset
4040
z_bp = partitionfunction(bpc)
4141
z_exact = reduce(*, [tn[v] for v in vertices(g)])[]
4242
@test abs(z_bp - z_exact) <= 1e-14
43-
end
43+
end

0 commit comments

Comments
 (0)