Skip to content

Commit 1cee94c

Browse files
authored
Update plot_shootout.jl
Disambiguate expression to avoid a parser error #407, not to mention that I can't be sure what is intended. Please review; an alternate possibility is that it's `(10^6.0) / teval`.
1 parent e8165ec commit 1cee94c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perf/plot_shootout.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dim = ones(Int,size(tconstr,1))*(1:size(tconstr,2))'
99
namelist = collect(take(cycle(testnames), length(dim)))
1010
ordlist = collect(take(cycle(testord), length(dim)))
1111
dfconstr = DataFrame(t = vec(tconstr), name = namelist, ord = ordlist, dim = vec(dim))
12-
dfeval = DataFrame(rate = vec(10^6./teval), name = namelist, ord = ordlist, dim = vec(dim))
12+
dfeval = DataFrame(rate = vec((10^6) ./ teval), name = namelist, ord = ordlist, dim = vec(dim))
1313

1414
flagBspline = (dfconstr[:name] .== "IBSpline") | (dfconstr[:name] .== "Grid")
1515
dfBconstr = dfconstr[flagBspline, :]
@@ -36,4 +36,4 @@ pGc = plot(dfGconstr, xgroup="dim", ygroup="ord", x="name", y="t", Geom.subplot_
3636
draw(PNG("constructionG.png", plotsize...), pGc)
3737

3838
pGr = plot(dfGeval, xgroup="dim", ygroup="ord", x="name", y="rate", Geom.subplot_grid(Geom.point), Scale.y_sqrt, Guide.ylabel("Throughput (pts/s) by order"))
39-
draw(PNG("rateG.png", plotsize...), pGr)
39+
draw(PNG("rateG.png", plotsize...), pGr)

0 commit comments

Comments
 (0)