mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove unused variables
This commit is contained in:
@@ -134,12 +134,10 @@ std::shared_ptr<MyMatrix> create1DLaplacian(I& indexset, int N, int start, int e
|
||||
continue;
|
||||
}
|
||||
|
||||
double dval=0;
|
||||
if(row>0)
|
||||
{
|
||||
mm->colIndex[nnz]=localRow-1;
|
||||
mm->data[nnz++]=-1;
|
||||
dval+=1;
|
||||
}
|
||||
mm->colIndex[nnz]=localRow;
|
||||
mm->data[nnz++]=2;//dval+(row<N-1);
|
||||
@@ -147,7 +145,6 @@ std::shared_ptr<MyMatrix> create1DLaplacian(I& indexset, int N, int start, int e
|
||||
{
|
||||
mm->colIndex[nnz]=localRow+1;
|
||||
mm->data[nnz++]=-1;
|
||||
dval+=1;
|
||||
}
|
||||
mm->rowStart[localRow+1]=nnz;
|
||||
indexset.add(row, LocalIndex(localRow, GridAttributes::owner, true));
|
||||
|
@@ -43,7 +43,6 @@ BOOST_AUTO_TEST_CASE(Invert4x4)
|
||||
{
|
||||
typedef Dune::FieldMatrix<double, 4, 4> BaseType;
|
||||
BaseType matrix;
|
||||
BaseType eye;
|
||||
BaseType inverse;
|
||||
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
|
Reference in New Issue
Block a user