From 4dd5677f59f49d098569108690f5f76f938ee47a Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot <mouginot.baptiste@gmail.com> Date: Mon, 17 Feb 2014 17:06:30 +0000 Subject: [PATCH] :) :) git-svn-id: svn+ssh://svn.in2p3.fr/class@211 0e7d625b-0364-4367-a6be-d5be4a48d228 --- gui/trunk/CLASSRead.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/trunk/CLASSRead.cxx b/gui/trunk/CLASSRead.cxx index 6903a2f06..d38be18cd 100755 --- a/gui/trunk/CLASSRead.cxx +++ b/gui/trunk/CLASSRead.cxx @@ -287,11 +287,11 @@ void CLASSRead::Plot(vector<CLASSPlotElement> toplot, string opt) for (int i = 0; i < (int)fNumberGraphIterator; i++) { - for(int j = 0; j < fGraph[0]->GetN()) + for(int j = 0; j < fGraph[i]->GetN(); j++) { double x; double y; - fGraph[i]->GetPoint(fGraph[0]->GetN()-1, x, y); + fGraph[i]->GetPoint(fGraph[i]->GetN()-1, x, y); if(i == 0) X_Sum[j] = x; -- GitLab