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
I can't figure out why, but because DofsView inherits from NamedTuple it never calls __array__ and so u[dv] fails. The workaround is u[dv.flatten()] or to call it yourself as in u[dv.__array__()] (obviously, since all __array__ does right now is call flatten()).
The text was updated successfully, but these errors were encountered:
I can't figure out why, but because
DofsView
inherits fromNamedTuple
it never calls__array__
and sou[dv]
fails. The workaround isu[dv.flatten()]
or to call it yourself as inu[dv.__array__()]
(obviously, since all__array__
does right now is callflatten()
).The text was updated successfully, but these errors were encountered: