Merge pull request #435 from atgeirr/fix-assert

Change assert() to use actual variables present.
This commit is contained in:
Atgeirr Flø Rasmussen 2015-08-17 17:07:41 +02:00
commit 91585bbcf8

View File

@ -120,7 +120,7 @@ namespace Opm
b.segment(pos, loc_size) = eqs[elem].value(); b.segment(pos, loc_size) = eqs[elem].value();
pos += loc_size; pos += loc_size;
} }
assert(pos == size); assert(pos == size_b);
// Create ISTL matrix with interleaved rows and columns (block structured). // Create ISTL matrix with interleaved rows and columns (block structured).
Mat istlA; Mat istlA;