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
The implementation of angle function on trait InnerSpace is incorrect. When calculating cang, instead of multiplying the inner product by the norms of two vectors, it should be dividing them.
The correct calculation should be let cang = prod.real().unscale(n1 * n2);.
The text was updated successfully, but these errors were encountered:
The implementation of
angle
function on traitInnerSpace
is incorrect. When calculatingcang
, instead of multiplying the inner product by the norms of two vectors, it should be dividing them.The correct calculation should be
let cang = prod.real().unscale(n1 * n2);
.The text was updated successfully, but these errors were encountered: