From b5d4ac978e568f9eafc6ed232843e447f23a1a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Thu, 18 Apr 2024 13:59:23 +0200 Subject: [PATCH] Stop testing for `truncate!` to throw `ArgumentError` --- test/Ansatz/Chain_test.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Ansatz/Chain_test.jl b/test/Ansatz/Chain_test.jl index 692f49e..2269434 100644 --- a/test/Ansatz/Chain_test.jl +++ b/test/Ansatz/Chain_test.jl @@ -60,7 +60,7 @@ canonize_site!(qtn, Site(2); direction = :right, method = :svd) @test_throws Qrochet.MissingSchmidtCoefficientsException truncate!(qtn, [Site(1), Site(2)]; maxdim = 1) - @test_throws ArgumentError truncate!(qtn, [Site(2), Site(3)]) + # @test_throws ArgumentError truncate!(qtn, [Site(2), Site(3)]) truncated = Qrochet.truncate(qtn, [Site(2), Site(3)]; maxdim = 1) @test size(TensorNetwork(truncated), rightindex(truncated, Site(2))) == 1