From e96cf67c779b9b2a71a5c0101d423bd5b1c4cce9 Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Wed, 20 Aug 2014 11:16:48 +0100 Subject: [PATCH] Fix Windows compile error Refs #7860 --- .../Mantid/MantidQt/CustomInterfaces/src/IndirectSymmetrise.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectSymmetrise.cpp b/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectSymmetrise.cpp index 17c87c5a637f..2ef9cfc31548 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectSymmetrise.cpp +++ b/Code/Mantid/MantidQt/CustomInterfaces/src/IndirectSymmetrise.cpp @@ -136,7 +136,7 @@ namespace CustomInterfaces updateRawPlot(); auto axisRange = getCurveRange("SymmRawPlot"); - double symmRange = fmax(fabs(axisRange.first), fabs(axisRange.second)); + double symmRange = std::max(fabs(axisRange.first), fabs(axisRange.second)); g_log.information() << "Symmetrise x axis range +/- " << symmRange << std::endl; m_dblManager->setValue(m_properties["PreviewRange"], symmRange);