We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get an error when I try to use map on a circular array. It seems like this should work but perhaps I am missing something.
e.g. map(x -> x+1, CircularArray([1,2,3,4])) throws an error...
map(x -> x+1, CircularArray([1,2,3,4]))
ERROR: MethodError: similar(::CircularVector{Int64, Vector{Int64}}, ::Type{Int64}, ::Tuple{Base.OneTo{Int64}}) is ambiguous. Candidates: ..............
reduce seems to work which slightly surprised me given the above reduce(+, CircularArray([1,2,3,4])) 10
reduce(+, CircularArray([1,2,3,4]))
10
The text was updated successfully, but these errors were encountered:
Looks like there is another ambiguity with Base to resolve.
Sorry, something went wrong.
b0f8cd4
Wow, that was quick!
Thanks for this handy package and the support.
All the best.
No branches or pull requests
I get an error when I try to use map on a circular array. It seems like this should work but perhaps I am missing something.
e.g.
map(x -> x+1, CircularArray([1,2,3,4]))
throws an error...reduce seems to work which slightly surprised me given the above
reduce(+, CircularArray([1,2,3,4]))
10
The text was updated successfully, but these errors were encountered: