mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Prevent copying of pore volume vector.
This commit is contained in:
1 parent
267bf39e4a
commit
9d2d942396
1 file changed
+1
-2
@@ -1908,8 +1908,7 @@ namespace {
|
||||
}
|
||||
}
|
||||
// Compute total pore volume
|
||||
const V pv = geo_.poreVolume();
|
||||
return pv.sum();
|
||||
return geo_.poreVolume().sum();
|
||||
}
|
||||
|
||||
template<class T>
|
||||
|
||||
Reference in new issue
Block a user