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
No related branches found
No related tags found
1 merge request!1641Fixes 4.6
...@@ -41,7 +41,7 @@ if isempty(options.(field)) ...@@ -41,7 +41,7 @@ if isempty(options.(field))
return return
end end
if ~iscell(options.(field)) if ~iscell(options.(field)) && ~isdates(options.(field))
if isnan(options.(field)) if isnan(options.(field))
options.(field) = default; options.(field) = default;
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment