diff --git a/src/BM1DProcess.cc b/src/BM1DProcess.cc index 7a907c4..f316fb2 100644 --- a/src/BM1DProcess.cc +++ b/src/BM1DProcess.cc @@ -20,7 +20,7 @@ void BM1DProcess::Run(int nRuns, int nSteps, double p0, double p1) t.push_back(0.0); //let's start at t=0, x=0, you can change it if you vant, please use Set methods x.push_back(0.0); - for(int ii = 0; ii < nSteps ; ii++) + for(int ii = 1; ii < nSteps ; ii++) { rand1 = randomGenerator->Uniform(); @@ -55,7 +55,7 @@ void BM1DProcess::Run(int nRuns, int nSteps, double p0, double mu, double sigma) t.push_back(0.0); //let's start at t=0, x=0, you can change it if you vant, please use Set methods x.push_back(0.0); - for(int ii = 0; ii < nSteps ; ii++) + for(int ii = 1; ii < nSteps ; ii++) { rand1 = randomGenerator->Uniform(); @@ -84,7 +84,7 @@ void BM1DProcess::Run(int nRuns, int nSteps, double p0, double x1, double x2, do double randGauss; - for(int ii = 0; ii < nSteps ; ii++) + for(int ii = 1; ii < nSteps ; ii++) { rand1 = randomGenerator->Uniform();