Skip to content

Commit 0273ead

Browse files
committed
add rtol
1 parent b60141e commit 0273ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ using TensorInference
2323
@info "Testing: $(problem_set_name)_$id"
2424
tn = TensorNetworkModel(read_model(problem); optimizer, evidence=read_evidence(problem))
2525
solution = log_probability(tn) / log(10) |> first
26-
@test isapprox(solution, read_solution(problem); atol = 1e-3)
26+
@test isapprox(solution, read_solution(problem); atol = 1e-3, rtol=1e-3)
2727
end
2828
end
2929
end

0 commit comments

Comments
 (0)