From 7b93fd01866347b33cf2972fc41be86b855c357d Mon Sep 17 00:00:00 2001 From: Reka Korei Date: Tue, 31 Oct 2017 14:47:28 +0100 Subject: [PATCH] Added switch for Analyse in main --- BM1D.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BM1D.cc b/BM1D.cc index 3ccdfc5..a4f6cbb 100644 --- a/BM1D.cc +++ b/BM1D.cc @@ -74,7 +74,11 @@ int main(int argc, char* argv[]) myPlotter->Plot(nRuns, nSteps, myBM1DProcess->GetT(), myBM1DProcess->GetX()); Analyse *myAnalyse = new Analyse(); - myAnalyse->AnalyseGaus(myBM1DProcess->GetT(),myBM1DProcess->GetX()); + + switch(random_type){ + case 'g' : + myAnalyse->AnalyseGaus(myBM1DProcess->GetT(),myBM1DProcess->GetX()); + } App.Run(); return 0;