This commit is contained in:
Balázs Gyöngyösi 2017-10-31 13:34:02 +01:00
commit 6df0253d50
1 changed files with 3 additions and 3 deletions

View File

@ -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();