fixed BM1D.cc

This commit is contained in:
Korcsmaros Berta 2017-10-31 12:35:01 +01:00
parent a3ac1c6d3d
commit 81a64a3884
1 changed files with 2 additions and 4 deletions

View File

@ -39,9 +39,7 @@ int main(int argc, char* argv[])
TApplication App("tapp", &argc, argv);
Int_t n = 1000;
BM1DProcess *myBM1DProcess = new BM1DProcess(n);
myBM1DProcess->Init();
BM1DProcess *myBM1DProcess = new BM1DProcess();
switch(random_type){
case 'u':
myBM1DProcess->Run(nRuns, nSteps, p0, p1);
@ -58,7 +56,7 @@ int main(int argc, char* argv[])
}
Plotter* myPlotter = new Plotter();
myPlotter->Plot(n, myBM1DProcess->GetT(), myBM1DProcess->GetX());
myPlotter->Plot(nRuns, nSteps, myBM1DProcess->GetT(), myBM1DProcess->GetX(), true);
App.Run();
return 0;