Prevent copying of pore volume vector.

This commit is contained in:
Markus Blatt committed 2015-01-30 15:26:33 +01:00
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>