Closed alexfikl closed 3 years ago
Ideally this would just be a rec_map_array_container(actx.from_numpy, ary), but the serialization gets confused by ndarrays that aren't object arrays.
rec_map_array_container(actx.from_numpy, ary)
ndarray
I'm not quite sure how to fix that besides making is_array_container singledispatched again.
is_array_container
(NOTE: this was mostly inspired by trying to remove a hack in pytential)
Thanks!
Ideally this would just be a
rec_map_array_container(actx.from_numpy, ary)
, but the serialization gets confused byndarray
s that aren't object arrays.I'm not quite sure how to fix that besides making
is_array_container
singledispatched again.(NOTE: this was mostly inspired by trying to remove a hack in pytential)