Bugfix: convert array to matrix type for matrix multiply.

This commit is contained in:
Atgeirr Flø Rasmussen
2013-05-16 14:44:16 +02:00
parent 6a2b21e04b
commit 84d163e9fa

View File

@@ -279,7 +279,7 @@ superset(const Eigen::Array<Scalar, Eigen::Dynamic, 1>& x,
const IntVec& indices, const IntVec& indices,
const int n) const int n)
{ {
return ::constructSupersetSparseMatrix<Scalar>(n, indices) * x; return ::constructSupersetSparseMatrix<Scalar>(n, indices) * x.matrix();
} }