mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #435 from atgeirr/fix-assert
Change assert() to use actual variables present.
This commit is contained in:
commit
91585bbcf8
@ -120,7 +120,7 @@ namespace Opm
|
||||
b.segment(pos, loc_size) = eqs[elem].value();
|
||||
pos += loc_size;
|
||||
}
|
||||
assert(pos == size);
|
||||
assert(pos == size_b);
|
||||
|
||||
// Create ISTL matrix with interleaved rows and columns (block structured).
|
||||
Mat istlA;
|
||||
|
Loading…
Reference in New Issue
Block a user