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
We find ourself using 1 + 0*x a lot of the time to obtain the scalar element.
Right, now, there is no great alternative to this spelling. The obvious choice of x.layout.scalar results in a multivector of int type, which is fine for most code, but is awkward for jitted code where really we want a scalar with the same coefficient type as x.
The text was updated successfully, but these errors were encountered:
As discussed in #371 (comment).
We find ourself using
1 + 0*x
a lot of the time to obtain the scalar element.Right, now, there is no great alternative to this spelling. The obvious choice of
x.layout.scalar
results in a multivector ofint
type, which is fine for most code, but is awkward for jitted code where really we want a scalar with the same coefficient type asx
.The text was updated successfully, but these errors were encountered: