From 93a87667e338c7050665738252191c031b5c7257 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Sun, 6 Oct 2024 17:37:04 -0400 Subject: [PATCH] Loosen test bounds (#12) * Loosen test bounds * Bump to v0.1.11 --- Project.toml | 2 +- test/linalg.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 9dbfef3..4563888 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorGaussianMPS" uuid = "2be41995-7c9f-4653-b682-bfa4e7cebb93" authors = ["Matthew Fishman and contributors"] -version = "0.1.10" +version = "0.1.11" [deps] Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" diff --git a/test/linalg.jl b/test/linalg.jl index 5ea9df3..24c80ed 100644 --- a/test/linalg.jl +++ b/test/linalg.jl @@ -31,6 +31,6 @@ end AU = A * U B = GMPS.make_subspace_real_if_possible(AU) # verify that same subspace is spanned by real eigenvectors B as original eigenvectors A or AU - @test norm(((B * B' * A) .- A)) <= eps(Float64) * 10 - @test norm(((B * B' * AU) .- AU)) <= eps(Float64) * 10 + @test norm(((B * B' * A) .- A)) <= eps(Float64) * 10^2 + @test norm(((B * B' * AU) .- AU)) <= eps(Float64) * 10^2 end