Return a human readable message error if order=0 (stoch_simul).

time-shift
Stéphane Adjemian (Scylla) 2013-11-28 10:51:20 +01:00
parent edb4398e28
commit ee91c7654f
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,10 @@ function info=stoch_simul(var_list)
global M_ options_ oo_ it_
if isequal(options_.order,0)
error('stoch_simul:: The order of the Taylor approximation cannot be 0!')
end
test_for_deep_parameters_calibration(M_);
dr = oo_.dr;