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 merge requests found
......@@ -41,9 +41,13 @@ if isempty(options.(field))
return
end
if isdates(options.(field))
return
end
if isnan(options.(field))
options.(field) = default;
return
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