From 616780d25b4e0a5593937402cebbff8eec73181a Mon Sep 17 00:00:00 2001 From: Anthony Lim <anthony.lim@stfc.ac.uk> Date: Thu, 28 Sep 2017 14:28:58 +0100 Subject: [PATCH] refs #20661 added doc and clang format --- MantidPlot/src/Mantid/MantidTable.cpp | 3 ++- docs/source/release/v3.11.0/framework.rst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MantidPlot/src/Mantid/MantidTable.cpp b/MantidPlot/src/Mantid/MantidTable.cpp index 13d3d3572a1..295b0830205 100644 --- a/MantidPlot/src/Mantid/MantidTable.cpp +++ b/MantidPlot/src/Mantid/MantidTable.cpp @@ -315,7 +315,8 @@ void MantidTable::cellEdited(int row, int col) { // Put it back in the stream and let the column deduce the correct // type of the number. std::stringstream textStream; - textStream << std::setprecision(std::numeric_limits<long double>::digits10 + 1)<<number; + textStream << std::setprecision(std::numeric_limits<long double>::digits10 + + 1) << number; std::istringstream stream(textStream.str()); c->read(index, stream); } diff --git a/docs/source/release/v3.11.0/framework.rst b/docs/source/release/v3.11.0/framework.rst index 6babf263514..1ce2daa28ef 100644 --- a/docs/source/release/v3.11.0/framework.rst +++ b/docs/source/release/v3.11.0/framework.rst @@ -98,7 +98,8 @@ Bug fixes - :ref:`CubicSpline <func-CubicSpline>` is fixed to sort the y-values and x-values correctly. - Fix displayed type name for optional boolean properties. -- Fix parameters that are tied to functions can now be untied correctly. +- Fix parameters that are tied to functions can now be untied correctly. +- Table workspaces do not have the values changed by viewing them (no rounding). Improved ######## -- GitLab