Merge removing conflicts

This commit is contained in:
Avik Pal 2018-08-11 18:01:27 +05:30
commit 355091b9d1
3 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
julia 0.7-
julia 0.7
Juno
MacroTools 0.3.3
NNlib

View File

@ -70,7 +70,7 @@ struct Params
Params(xs) = new(IdSet(xs))
end
@forward Params.params Base.iterate
@forward Params.params Base.iterate, Base.length
function Base.show(io::IO, ps::Params)
print(io, "Params([")

View File

@ -20,8 +20,13 @@ Base.similar(s::IdSet, T::Type) = IdSet{T}()
@forward IdSet.dict Base.length
<<<<<<< HEAD
function iterate(v::IdSet, state...)
y = iterate(keys(v.dict), state...)
=======
function Base.iterate(v::IdSet, state...)
y = Base.iterate(keys(v.dict), state...)
>>>>>>> 837e03613f98ff9b949815018cba02a3682dab3c
y === nothing && return nothing
return (y[1], y[2])
end