Skip to content

Commit 0134242

Browse files
committed
Revise edit to remove eachrow
1 parent ce89e45 commit 0134242

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/trials.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,8 @@ function Base.show(io::IO, ::MIME"text/plain", t::Trial)
456456

457457
print(io, "\n")
458458
for r in axes(hist, 1)
459-
histrow = view(hist, r, :)
460459
print(io, "\n", pad, " ")
461-
for (i, bar) in enumerate(histrow)
460+
for (i, bar) in enumerate(view(hist, r, :))
462461
color = :default
463462
if i == avgpos color = :green end
464463
if i == medpos color = :blue end

0 commit comments

Comments
 (0)