Skip to content
Snippets Groups Projects
Verified Commit 082e22e2 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test/tensor: fix type

parent 4beb4fbd
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ template <typename Scalar, int Rank>
struct TensorContainer {
typedef Eigen::Tensor<Scalar, Rank> Tensor;
typedef Eigen::TensorRef<Tensor> TensorRef;
typedef Eigen::Matrix<Scalar, Rank, 1> Dimensions;
typedef Eigen::Matrix<typename Tensor::Index, Rank, 1> Dimensions;
Tensor m_tensor;
TensorContainer(const Dimensions& dims) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment