I think changing it to Matrix{Float64}(I, n, n)
might work then. (Didn’t test because I’m on my phone). The issue being that it creates a boolean matrix there unless you specify the type.
3 Likes
I think changing it to Matrix{Float64}(I, n, n)
might work then. (Didn’t test because I’m on my phone). The issue being that it creates a boolean matrix there unless you specify the type.