Skip to content
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.

Commit

Permalink
Change Counter to an immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jul 27, 2014
1 parent fc8a380 commit 3844de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/counter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Base: done, next, start
# However, with sz appropriately defined, this version works for
# arbitrary dimensions.

type Counter
immutable Counter
max::Vector{Int}
end
Counter(sz::Tuple) = Counter(Int[sz...])
Expand Down

0 comments on commit 3844de1

Please # to comment.