Commit 3307b4b7 authored by Marco Ratto's avatar Marco Ratto
Browse files

Use Sobol sequence with seed = 1 (to avoid [0 0 0 0 0 ... ] point )

parent aa62568a
......@@ -127,7 +127,7 @@ if fload==0,
% Nsam=size(lpmat,1);
else
if np<52 && ilptau>0,
[lpmat] = qmc_sequence(np, int64(0), 0, Nsam)';
[lpmat] = qmc_sequence(np, int64(1), 0, Nsam)';
if np>30 || ilptau==2, % scrambled lptau
for j=1:np,
lpmat(:,j)=lpmat(randperm(Nsam),j);
......
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