Skip to content
Snippets Groups Projects
Commit fb3b5247 authored by sniklas142's avatar sniklas142
Browse files

fixed number of modes for ou_kmax

parent fd184b61
Branches
Tags
No related merge requests found
......@@ -115,7 +115,7 @@ void ornstein_uhlenbeck_process<rnumber,be>::initialize_B()
{
double kabs = sqrt(ksqu);
double sigma;
if (ksqu == 0)
if (ksqu == 0 || ksqu == this->ou_kmax_squ)
{
ksqu = 1; kabs = 1; sigma = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment