xtensor-stack / xtensor-r

R bindings for xtensor
BSD 3-Clause "New" or "Revised" License
86 stars 15 forks source link

Add dimension check to rtensor #67

Closed wolfv closed 5 years ago

wolfv commented 5 years ago

I think it's better to have a runtime dimension check for rtensor in case one tries to reshape e.g. with too many dims or pass a wrong dimensioned R SEXP.

wolfv commented 5 years ago

This is actually already implemented.