Skip to content

Commit

Permalink
CI Fix (#922)
Browse files Browse the repository at this point in the history
* add 1e-4 tolerance on dc oswpf node-breaker test
  • Loading branch information
ccoffrin committed Jul 4, 2024
1 parent 8e346b4 commit 094e1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/opf-var.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 094e1b9

Please sign in to comment.