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
Sometimes my API simply does not permit easily to template, or I just want to wrap quick and dirty, or on needs to work around a bug. For these case I still want to be able to wrap
voidfoo(const xt::xtensor<double, 1>& a);
Currently this is explicitly prohibited in xtensor-python
I find this too restrictive, and I think that xtensor-python should have a way to do it, for instance by setting a flag or include a header. We should give the possibility to work around something, even if it comes at the cost of a copy.
The text was updated successfully, but these errors were encountered:
Sometimes my API simply does not permit easily to template, or I just want to wrap quick and dirty, or on needs to work around a bug. For these case I still want to be able to wrap
Currently this is explicitly prohibited in xtensor-python
xtensor-python/include/xtensor-python/xtensor_type_caster_base.hpp
Lines 77 to 80 in 9aa58f8
I find this too restrictive, and I think that xtensor-python should have a way to do it, for instance by setting a flag or include a header. We should give the possibility to work around something, even if it comes at the cost of a copy.
The text was updated successfully, but these errors were encountered: