Skip to content

Commit

Permalink
Maybe avoid a stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Dec 16, 2017
1 parent d9a7650 commit 6aa05fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/value.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ Base.eltype(x::CategoricalString) = Char
Base.length(x::CategoricalString) = length(get(x))
Base.endof(x::CategoricalString) = endof(get(x))
Base.sizeof(x::CategoricalString) = sizeof(get(x))
Base.nextind(x::CategoricalString, i::Integer) = nextind(get(x), Int(i))
Base.nextind(x::CategoricalString, i::Integer) = nextind(x, Int(i))
Base.nextind(x::CategoricalString, i::Int) = nextind(get(x), i)
Base.prevind(x::CategoricalString, i::Integer) = prevind(get(x), Int(i))
Base.prevind(x::CategoricalString, i::Integer) = prevind(x, Int(i))
Base.prevind(x::CategoricalString, i::Int) = prevind(get(x), i)
Base.next(x::CategoricalString, i::Int) = next(get(x), i)
Base.getindex(x::CategoricalString, i::Int) = getindex(get(x), i)
Expand Down

0 comments on commit 6aa05fd

Please sign in to comment.