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
RecursiveArrayTools.jl/test/partitions_test.jl
Lines 78 to 82 in 569a07e
What's the use case for the vector space interface? using broadcast, rather than overloading +,- would be consistent with AbstractArray interface.
+,-
julia> 2 + rand(2) ERROR: MethodError: no method matching +(::Int64, ::Vector{Float64}) For element-wise addition, use broadcasting with dot syntax: scalar .+ array julia> 2 .+ rand(2) 2-element Vector{Float64}: 2.50859350057021 2.7682555961902384
The text was updated successfully, but these errors were encountered:
It's just old pre-v1.0 stuff probably.
Sorry, something went wrong.
https://github.com/SciML/RecursiveArrayTools.jl/issues/187
bd273d3
No branches or pull requests
RecursiveArrayTools.jl/test/partitions_test.jl
Lines 78 to 82 in 569a07e
What's the use case for the vector space interface? using broadcast, rather than overloading
+,-
would be consistent with AbstractArray interface.The text was updated successfully, but these errors were encountered: