shabbychef / madness

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

Kronecker product not working? #9

Closed shabbychef closed 8 years ago

shabbychef commented 8 years ago

Suddenly this seems to not work:

X_mad <- madness(array(1:4,dim=c(1,4)))
y <- X_mad %o% X_mad

I get

Error in as.vector(X) : no method for coercing this S4 class to a vector

Enter a frame number, or 0 to exit   

1: X_mad %o% X_mad
2: outer(X, Y)
3: as.vector(X)

Selection: 0 
shabbychef commented 8 years ago

fixed by 2d31b0c27767204543d5b237161c1f371657c224