*using Polynomialx=[-1:1:2]inter=polyval(Poly([1,-2,1]),x)for n in
[x[1]:x[end]] if inter[n]==0 println("root in x=",n)endend*
I get a BoundsError() and I don't know how could I fit the x range in the n
array to evaluate different values in inter each time the for loop occurs.
- [julia-users] Why do I get BoundsError() when trying to range... Albert Díaz
