Skip to content

Commit 3be69cd

Browse files
authored
Merge pull request #12 from jpthiele/fix-constructor-ext-warning
Fix warning for unqualified constructor extension
2 parents ebac8d7 + d34be42 commit 3be69cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bijections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ iterate(b::Bijection{S,T}, s::Int) where {S,T} = iterate(b.f, s)
185185
iterate(b::Bijection{S,T}) where {S,T} = iterate(b.f)
186186

187187
# convert a Bijection into a Dict; probably not useful
188-
Dict(b::Bijection) = copy(b.f)
188+
Base.Dict(b::Bijection) = copy(b.f)
189189

190190

191191
# Check if this bijection is empty

0 commit comments

Comments
 (0)