Merge removing conflicts
This commit is contained in:
commit
355091b9d1
2
REQUIRE
2
REQUIRE
@ -1,4 +1,4 @@
|
|||||||
julia 0.7-
|
julia 0.7
|
||||||
Juno
|
Juno
|
||||||
MacroTools 0.3.3
|
MacroTools 0.3.3
|
||||||
NNlib
|
NNlib
|
||||||
|
@ -70,7 +70,7 @@ struct Params
|
|||||||
Params(xs) = new(IdSet(xs))
|
Params(xs) = new(IdSet(xs))
|
||||||
end
|
end
|
||||||
|
|
||||||
@forward Params.params Base.iterate
|
@forward Params.params Base.iterate, Base.length
|
||||||
|
|
||||||
function Base.show(io::IO, ps::Params)
|
function Base.show(io::IO, ps::Params)
|
||||||
print(io, "Params([")
|
print(io, "Params([")
|
||||||
|
@ -20,8 +20,13 @@ Base.similar(s::IdSet, T::Type) = IdSet{T}()
|
|||||||
|
|
||||||
@forward IdSet.dict Base.length
|
@forward IdSet.dict Base.length
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
function iterate(v::IdSet, state...)
|
function iterate(v::IdSet, state...)
|
||||||
y = iterate(keys(v.dict), 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
|
y === nothing && return nothing
|
||||||
return (y[1], y[2])
|
return (y[1], y[2])
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user