mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Redo commit 6f55c862 after rebasing.
This commit is contained in:
@@ -102,10 +102,10 @@ void fastSparseProduct(const Lhs& lhs, const Rhs& rhs, ResultType& res)
|
||||
const Scalar y = rhsIt.value();
|
||||
for (typename Lhs::InnerIterator lhsIt(lhs, rhsIt.index()); lhsIt; ++lhsIt)
|
||||
{
|
||||
const Index i = lhsIt.index();
|
||||
const Scalar val = lhsIt.value() * y;
|
||||
if( std::abs( val ) > epsilon )
|
||||
{
|
||||
const Index i = lhsIt.index();
|
||||
if(!mask[i])
|
||||
{
|
||||
mask[i] = true;
|
||||
|
||||
Reference in New Issue
Block a user