From 094e1b9b7353e47b693810f13d357ba9f3fbabf9 Mon Sep 17 00:00:00 2001 From: Carleton Coffrin Date: Thu, 4 Jul 2024 12:41:56 -0600 Subject: [PATCH] CI Fix (#922) * add 1e-4 tolerance on dc oswpf node-breaker test --- test/opf-var.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/opf-var.jl b/test/opf-var.jl index c5c6211e..fbb90c2b 100644 --- a/test/opf-var.jl +++ b/test/opf-var.jl @@ -646,7 +646,7 @@ end @test switch_status_total <= 13.000 && switch_status_total >= 10.000 # 1 to 4 swtiches off branch_status_total = sum(branch["br_status"] for (i,branch) in result["solution"]["branch"]) - @test branch_status_total >= 5.0 && branch_status_total <= 7.0 # zero-two branches off + @test branch_status_total >= 4.9999 && branch_status_total <= 7.0001 # zero-two branches off end end