Have you tried putting it in a function?

--Tim

On Wednesday, October 29, 2014 03:11:53 AM Nils Gudat wrote:
> Is there any way in Julia to get more specific information on a
> BoundsError()? Specifically, in Matlab these errors give a wonderfully
> informative error message "Attemted to access [matrix]: Index out of bounds
> as size [matrix] = [size]".
> In contrast, Julia just references the line in which my for loop starts, so
> I have to check line for line withing the loop where the error occurs (and
> then each dimension for the array that's being accessed on that line). Can
> this process somehow be made less tedious in Julia?




Reply via email to