-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
similar
StackOverflowError
#62
Comments
Resolved
by changing the definition of function Base.similar(::Type{T}, shape::S) where {T<:AbstractArray, DoA<:DimOrAxes, S<:Tuple{DoA,Vararg{DoA}}} but the stack overflow remains. |
What was the original call that caused the stack overflow. I think the problem is |
I provoked a better error message by adding
That offending line is simply typeof(output) = AxisIndices.AxisVector{Float64, SubArray{Float64, 1, Matrix{Float64}, Tuple{Base.Slice{ArrayInterface.OptionallyStaticUnitRange{ArrayInterface.StaticInt{1}, Int64}}, Int64}, true}, AxisIndices.Axis{Float64, Int64, LinRange{Float64}, AxisIndices.SimpleAxis{Int64, ArrayInterface.OptionallyStaticUnitRange{ArrayInterface.StaticInt{1}, Int64}}}}
typeof(ndos.norm_factor) = Float64 (note that previously, that one-element call stack I pasted in the first post was the full error message, so I had no idea where the error was coming from) |
I think the stack overflow must be an infinite recursion into
If the |
Your correct about to_shape being the issue. I'd welcome any help on it because similar keeps coming back to haunt me. |
I'll take a look at it. |
I think a laid some pretty good groundwork for resolving issues related to |
Not much of an error message, but I'm chasing it down. I'll update this as I make progress. I'm on nightly julia and master AxisIndices
EDIT:
Potentially relevant:
The text was updated successfully, but these errors were encountered: