shabbychef / madness

Multivariate Automatic Differentiation R package
GNU Lesser General Public License v3.0
31 stars 0 forks source link

rev or scalar indexing #8

Closed shabbychef closed 8 years ago

shabbychef commented 8 years ago

The following crashes:

X_mad <- madness(array(1:4,dim=c(1,4)))
rev(X_mad)

Either implement rev or allow X_mad[rev(1:4)]. See also #7 ?

shabbychef commented 8 years ago

Fixed by c94fae0ef06165c139557daf258b0bbc09f734ce