mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Prevent copying of pore volume vector.
This commit is contained in:
@@ -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