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
copyto!
CartesianIndices
julia/base/multidimensional.jl
Lines 1105 to 1129 in 9a0e797
Now that CartesianIndices may contain StepRanges, the implementation doesn't seem correct.
StepRange
julia> a = rand(4) 4-element Vector{Float64}: 0.7766672217743518 0.5138339000883105 0.7793932733439368 0.6377375487030642 julia> b = zeros(2); julia> copyto!(b, CartesianIndices(b), a, CartesianIndices((1:2:3,))) 2-element Vector{Float64}: 0.7766672217743518 0.0 julia> a[CartesianIndices((1:2:3,))] 2-element Vector{Float64}: 0.7766672217743518 0.7793932733439368
The text was updated successfully, but these errors were encountered:
copyto!(dest, Rdest::CartesianIndices, src, Rsrc::CartesianIndices)
Successfully merging a pull request may close this issue.
julia/base/multidimensional.jl
Lines 1105 to 1129 in 9a0e797
Now that
CartesianIndices
may containStepRange
s, the implementation doesn't seem correct.The text was updated successfully, but these errors were encountered: