fixed bug introduced in commit 660fc6

time-shift
Michel Juillard 2015-11-10 09:18:41 +01:00
parent 53e9307fe2
commit f3ee32690e
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ if nspred > 180
disp(' ')
disp(['WARNING in evaluate_planner_objective: model too large, can''t evaluate planner ' ...
'objective'])
return NaN
planner_objective_value = NaN;
return
end
beta = get_optimal_policy_discount_factor(M.params,M.param_names);