Only push non-empty data to output.

This commit is contained in:
Atgeirr Flø Rasmussen 2017-04-19 09:58:54 +02:00
parent debe044e0f
commit af4a12b872

View File

@ -478,6 +478,10 @@ namespace Opm
const std::string& name,
const V& vec )
{
if (vec.size() == 0) {
return;
}
typedef std::vector< double > OutputVectorType;
// get data map