-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
The following replacement of "2" with "end" causes a crash:
julia> z == z[[(1:2)[:],[3]],:]
true true true true
true true true true
true true true true
julia> z == z[[(1:(end-1))[:],[3]],:]
end not defined
in run_repl, /home/bezanson/src/julia/j/client.j:21
in _start, /home/bezanson/src/julia/j/client.j:156
In light of the previous issue on the difficulties of range concatenation, cannot run this piece of MATLAB code for the heat equation:
f = f + (alpha * k/h^2)_(-4_f + f([2:end,1],:) + f([end,1:(end-1)],:) + f(:,[2:end,1]) + f(:,[end,1:(end-1)]));
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior