Prevent copying of pore volume vector.

This commit is contained in:
Markus Blatt
2015-01-30 15:26:33 +01:00
parent 267bf39e4a
commit 9d2d942396
@@ -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>