mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2331 from akva2/janitoring
changed: rename local typedef to avoid shadowing warning
This commit is contained in:
commit
22a291a3af
@ -749,8 +749,8 @@ protected:
|
||||
void setGhostsInNoGhost(Matrix& ng)
|
||||
{
|
||||
ng=0;
|
||||
typedef typename Matrix::block_type MatrixBlockType;
|
||||
MatrixBlockType diag_block(0.0);
|
||||
typedef typename Matrix::block_type MatrixBlockTypeT;
|
||||
MatrixBlockTypeT diag_block(0.0);
|
||||
for (int eq = 0; eq < Matrix::block_type::rows; ++eq)
|
||||
diag_block[eq][eq] = 1.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user