Commit 2616660e authored by Juha Kiviluoma's avatar Juha Kiviluoma
Browse files

Fixes issue #131

parent 3791becf
...@@ -41,6 +41,13 @@ loop(m, ...@@ -41,6 +41,13 @@ loop(m,
and ord(t) <= mSettings(m, 't_end') + mSettings(m, 't_horizon') and ord(t) <= mSettings(m, 't_end') + mSettings(m, 't_horizon')
} }
= yes; = yes;
if(mSettings(m, 't_jump') > mSettings(m, 't_end'),
mSettings(m, 't_jump') = mSettings(m, 't_end');
put log "!!! t_jump was larger than t_end. t_jump was decreased to t_end."/
);
if(mod(mSettings(m, 't_end'), mSettings(m, 't_jump')) > 0,
abort "t_end is not divisible by t_jump";
);
* --- Samples and Forecasts --------------------------------------------------- * --- Samples and Forecasts ---------------------------------------------------
$ontext $ontext
......
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