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

trap possible cases where the option is type dates

parent 4ba9c929
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,10 @@ if isempty(options.(field)) ...@@ -41,6 +41,10 @@ if isempty(options.(field))
return return
end end
if isdates(options.(field))
return
end
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