Changed some options and the test criteria which has to depend on the value of options_.dynatol.x.

time-shift
Stéphane Adjemian (Charybdis) 2012-03-08 12:50:28 +01:00
parent d995234003
commit cfed4b8aaa
1 changed files with 5 additions and 10 deletions

View File

@ -32,24 +32,19 @@ end;
steady;
options_.ep.verbosity = 0;
options_.ep.stochastic = 0;
options_.ep.order = 0;
options_.ep.nnodes = 0;
options_.ep.stochastic.order = 0;
options_.ep.stochastic.nodes = 0;
options_.console_mode = 0;
ts = extended_path([],100);
options_.ep.verbosity = 0;
options_.ep.stochastic = 1;
options_.ep.order = 1;
options_.ep.nnodes = 5;
options_.ep.stochastic.order = 1;
options_.ep.stochastic.nodes = 3;
options_.console_mode = 0;
sts = extended_path([],100);
if max(max(abs(ts-sts)))>1e-12
if max(max(abs(ts-sts)))>options_.dynatol.x
disp('Stochastic Extended Path:: Something is wrong here (potential bug in extended_path.m)!!!')
end