Merge branch 'master' of https://github.com/dbalazs92/BM1D
This commit is contained in:
commit
6df0253d50
|
@ -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
|
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);
|
x.push_back(0.0);
|
||||||
|
|
||||||
for(int ii = 0; ii < nSteps ; ii++)
|
for(int ii = 1; ii < nSteps ; ii++)
|
||||||
{
|
{
|
||||||
|
|
||||||
rand1 = randomGenerator->Uniform();
|
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
|
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);
|
x.push_back(0.0);
|
||||||
|
|
||||||
for(int ii = 0; ii < nSteps ; ii++)
|
for(int ii = 1; ii < nSteps ; ii++)
|
||||||
{
|
{
|
||||||
rand1 = randomGenerator->Uniform();
|
rand1 = randomGenerator->Uniform();
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ void BM1DProcess::Run(int nRuns, int nSteps, double p0, double x1, double x2, do
|
||||||
|
|
||||||
double randGauss;
|
double randGauss;
|
||||||
|
|
||||||
for(int ii = 0; ii < nSteps ; ii++)
|
for(int ii = 1; ii < nSteps ; ii++)
|
||||||
{
|
{
|
||||||
rand1 = randomGenerator->Uniform();
|
rand1 = randomGenerator->Uniform();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue