Commit 8976bcf8 authored by Frédéric Karamé's avatar Frédéric Karamé
Browse files

fix bug in the dimension of the noise vector

parent ae558842
......@@ -81,7 +81,7 @@ if number_of_trials
if kitagawa_resampling
u = (transpose(1:number_of_trials)-1+noise(:))/number_of_trials;
else
u = fliplr(cumprod(noise.^(1./(number_of_trials:-1:1))));
u = fliplr(cumprod(noise(1:number_of_trials).^(1./(number_of_trials:-1:1))));
end
j=1;
for i=1:number_of_trials
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment