Skip to content

Commit 936b9a9

Browse files
authored
bugfix in script (#10)
1 parent 521cbf4 commit 936b9a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/pr_commenter.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function gen_figures()
5353
eps = 2*[0.15, 0.015, 0.1, 0.01, 0.01, 0.02, 0.01, 0.15, 0.15, 0.01, 0.01]
5454
res = genplots(funcs, refs, eps=eps, popup=false)
5555

56-
ndiff = count(r -> r.status != EXACT_MATCH, res)
56+
ndiff = count(r -> r.status != ControlExamplePlots.EXACT_MATCH, res)
5757

5858
return res, ndiff
5959
end
@@ -98,7 +98,7 @@ function get_message(res, org, new_org, old_commit, new_branch_name)
9898
images_str = ""
9999
ndiff = 0
100100
for r in res
101-
if r.status != EXACT_MATCH
101+
if r.status != ControlExamplePlots.EXACT_MATCH
102102
ndiff += 1
103103
diff = (isdefined(r, :diff) && isa(r.diff, Number)) ? r.diff : 1.0
104104
# Symbol in front of number

0 commit comments

Comments
 (0)