mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bugfix: convert array to matrix type for matrix multiply.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user