Matrix square root (Error)

you can use just sqrt :

a = [1.0 -0.9; -0.9 1.0]
sqrt(a)
2×2 Array{Float64,2}:
  0.847316  -0.531089
 -0.531089   0.847316

I find this post talking about that