#3060 Resampled plot export. Write NULL instead og inf to indicate 'no valaue'

This commit is contained in:
Bjørn Erik Jensen 2018-06-28 12:39:43 +02:00
parent 082f8be6b2
commit bc7dbad45d

View File

@ -64,11 +64,6 @@
CAF_PDM_SOURCE_INIT(RimSummaryPlot, "SummaryPlot");
//--------------------------------------------------------------------------------------------------
/// Internal constants
//--------------------------------------------------------------------------------------------------
#define DOUBLE_INF std::numeric_limits<double>::infinity()
//--------------------------------------------------------------------------------------------------
/// Internal types
//--------------------------------------------------------------------------------------------------
@ -1872,7 +1867,7 @@ void appendToExportData(QString& out, const std::vector<CurvesData>& curvesData)
}
else
{
valueText = QString::number(DOUBLE_INF);
valueText = "NULL";
}
out += "\t" + valueText;
}