From 9f9cdfe653b02de59947df72be7d58f094a8244a Mon Sep 17 00:00:00 2001 From: Mouginot B <mouginot.baptiste@gmail.com> Date: Thu, 22 Feb 2018 17:09:55 -0600 Subject: [PATCH] reset Sceanrio --- source/src/Scenario.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/Scenario.cxx b/source/src/Scenario.cxx index 05aee3155..81326d046 100644 --- a/source/src/Scenario.cxx +++ b/source/src/Scenario.cxx @@ -716,7 +716,7 @@ void Scenario::ProgressPrintout(cSecond t) else { - system("clear"); + int system_out = system("clear"); /****Printing CLASS info + nuclear clover****/ if(fCloverCount>3) fCloverCount=0; @@ -738,7 +738,7 @@ void Scenario::ProgressPrintout(cSecond t) Completed << "\033[0m"; - for(int i = ProgressBarlength; i >= (int)(Time/Total*ProgressBarlength); i--) + for(int i = ProgressBarlength; i > (int)(Time/Total*ProgressBarlength); i--) Completed << " "; cout<<Completed.str(); -- GitLab