From bc7dbad45d79265e2e64ce804414f3068cc36c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Jensen?= Date: Thu, 28 Jun 2018 12:39:43 +0200 Subject: [PATCH] #3060 Resampled plot export. Write NULL instead og inf to indicate 'no valaue' --- .../ProjectDataModel/Summary/RimSummaryPlot.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp b/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp index 94d6207deb..8cd02081d3 100644 --- a/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Summary/RimSummaryPlot.cpp @@ -64,11 +64,6 @@ CAF_PDM_SOURCE_INIT(RimSummaryPlot, "SummaryPlot"); -//-------------------------------------------------------------------------------------------------- -/// Internal constants -//-------------------------------------------------------------------------------------------------- -#define DOUBLE_INF std::numeric_limits::infinity() - //-------------------------------------------------------------------------------------------------- /// Internal types //-------------------------------------------------------------------------------------------------- @@ -1872,7 +1867,7 @@ void appendToExportData(QString& out, const std::vector& curvesData) } else { - valueText = QString::number(DOUBLE_INF); + valueText = "NULL"; } out += "\t" + valueText; }