Stackoverflow using backslash operator in Juno

Hi, I am using Juno for Julia 1.7 on macOS. I have a problem of receiving a Stackoverflow error when running a Julia script, which does not give an error when I type it in the REPL in Atom, nor the Julia terminal. I try to run the following script

using Random, LinearAlgebra

alpha = 1.0
m = 200

Random.seed!(0)
a=2.0
d=(a.^(0:(m-1)))
d[end-1]=d[end]*(0.99-1/(5*alpha))
B=randn(m,m)
A=B\(diagm(0=>d[:])*B)

The stack overflow seems to occur when the backslash operator is used. Is there anyone who has an idea how to fix this?

See e.g. VS Code + stackoverflowerror

Is there anyone who has an idea how to fix this?

Until either version 1.6.5 or 1.7.1 are released you can use 1.6.3.

1 Like