mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-07-29 18:57:56 -05:00
Prevent copying of pore volume vector.
This commit is contained in:
@@ -1908,8 +1908,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Compute total pore volume
|
// Compute total pore volume
|
||||||
const V pv = geo_.poreVolume();
|
return geo_.poreVolume().sum();
|
||||||
return pv.sum();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
|
|||||||
Reference in New Issue
Block a user