[eigen] compilation error

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


With the latest source I get the following compilation error (gcc)

eigen/Eigen/src/Sparse/SparseProduct.h: In function ‘void Eigen::ei_sparse_product_impl2(const Lhs&, const Rhs&, ResultType&)’:
/home/tirons/src/eigen/Eigen/src/Sparse/SparseProduct.h:176: error: ‘values’ was not declared in this scope
/home/tirons/src/eigen/Eigen/src/Sparse/SparseProduct.h:193: error: ‘values’ was not declared in this scope

I was able to compile by adding

Scalar values[lhs.size()];

to this file.

But I'm not sure if this is a good fix.

Thanks,

Trevor




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/