We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4521e6b commit 3b5a0ebCopy full SHA for 3b5a0eb
base/deprecated.jl
@@ -478,7 +478,8 @@ function getindex(A::LogicalIndex, i::Int)
478
first(Iterators.drop(A, i-1))
479
end
480
function to_indexes(I...)
481
- depwarn("to_indexes is deprecated; pass both the source array `A` and indices as `to_indices(A, $(I...))` instead.", :to_indexes)
+ Istr = join(I, ", ")
482
+ depwarn("to_indexes is deprecated; pass both the source array `A` and indices as `to_indices(A, $Istr)` instead.", :to_indexes)
483
map(_to_index, I)
484
485
_to_index(i) = to_index(I)
0 commit comments