mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3060 Resampled plot export. Write NULL instead og inf to indicate 'no valaue'
This commit is contained in:
parent
082f8be6b2
commit
bc7dbad45d
@ -64,11 +64,6 @@
|
|||||||
|
|
||||||
CAF_PDM_SOURCE_INIT(RimSummaryPlot, "SummaryPlot");
|
CAF_PDM_SOURCE_INIT(RimSummaryPlot, "SummaryPlot");
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
/// Internal constants
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
#define DOUBLE_INF std::numeric_limits<double>::infinity()
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
/// Internal types
|
/// Internal types
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
@ -1872,7 +1867,7 @@ void appendToExportData(QString& out, const std::vector<CurvesData>& curvesData)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
valueText = QString::number(DOUBLE_INF);
|
valueText = "NULL";
|
||||||
}
|
}
|
||||||
out += "\t" + valueText;
|
out += "\t" + valueText;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user