Created attachment 611 [details]
patch for Tensor.h and tests and some macro
Allow custom type for indices in functions in Tensor class
(TensorBase has not yet been modified, since it is not known if this is good code :-)), please review :-)
Tensor<float, 4, DataLayout> tensor(2, 3, 5, 7);
Matrix<unsigned int , 4, 1> coeff(1,2,4,1);
tensor.coeff( coeff );
-- GitLab Migration Automatic Message --
This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1084.