From ba447ca42989fa2c78be4ee516312c248d5fc28f Mon Sep 17 00:00:00 2001 From: Raquel Alvarez Banos <raquel.alvarez.banos@gmail.com> Date: Mon, 3 Aug 2015 11:49:22 +0100 Subject: [PATCH] Re #13276 Fix the bug --- .../Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp b/Code/Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp index 63977e949b6..a6a08856754 100644 --- a/Code/Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp +++ b/Code/Mantid/Framework/Algorithms/src/PlotAsymmetryByLogValue.cpp @@ -180,7 +180,7 @@ void PlotAsymmetryByLogValue::exec() { // Create the 2D workspace for the output int nplots = m_greenY.size() ? 4 : 1; - size_t npoints = ie - is + 1; + size_t npoints = m_logValue.size(); MatrixWorkspace_sptr outWS = WorkspaceFactory::Instance().create( "Workspace2D", nplots, // the number of plots -- GitLab