You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the division works fine for larger matrices:
julia> N =@SMatrixrand(BigFloat, 5,5)
5×5 SMatrix{5, 5, BigFloat, 25} with indices SOneTo(5)×SOneTo(5):0.4062010.9038270.6574190.6622930.304930.5913750.4280220.7990330.9815370.5141570.1750830.1582920.1367740.08135570.4183620.01781480.6266410.06136830.171030.2568460.02445660.06280760.5379640.331290.115918
julia> N / N
5×5 SMatrix{5, 5, BigFloat, 25} with indices SOneTo(5)×SOneTo(5):1.00.00.0-0.0-0.04.77755e-781.0-8.34278e-78-6.25746e-78-2.67633e-780.00.01.0-0.0-0.00.00.00.01.0-0.00.00.00.0-0.01.0
MWE:
This is because
A/B
usessetindex
internally, and the method doesn't support non-isbitstypes. (x-ref: #883)But is this error as expected?
I thought we can add a matrix division method for non-isbitstypes that does not use
setindex
.The text was updated successfully, but these errors were encountered: