mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only push non-empty data to output.
This commit is contained in:
parent
debe044e0f
commit
af4a12b872
@ -478,6 +478,10 @@ namespace Opm
|
|||||||
const std::string& name,
|
const std::string& name,
|
||||||
const V& vec )
|
const V& vec )
|
||||||
{
|
{
|
||||||
|
if (vec.size() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
typedef std::vector< double > OutputVectorType;
|
typedef std::vector< double > OutputVectorType;
|
||||||
|
|
||||||
// get data map
|
// get data map
|
||||||
|
Loading…
Reference in New Issue
Block a user