Skip to content
Snippets Groups Projects
Commit 6e033a80 authored by Marco Ratto's avatar Marco Ratto
Browse files

trap possible cases where the option is type dates (manual cherry pick from...

trap possible cases where the option is type dates (manual cherry pick from commit 392ee4ae)
parent 47900a59
Branches
No related tags found
1 merge request!1641Fixes 4.6
......@@ -41,11 +41,11 @@ if isempty(options.(field))
return
end
if ~iscell(options.(field))
if ~iscell(options.(field)) && ~isdates(options.(field))
if isnan(options.(field))
options.(field) = default;
return
end
end
% 06/07/03 MJ added ; to eval expression
\ No newline at end of file
% 06/07/03 MJ added ; to eval expression
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment