Commit f01b97da authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Check that freq property is also empty.

parent 7c9ce915
......@@ -50,4 +50,4 @@ if ~isa(a,'dynDate')
error(['dynDate::isempty: Input argument ' inputname(1) ' have to be a dynDate object!'])
end
b = all(isnan(a.time));
\ No newline at end of file
b = all(isnan(a.time)) && isnan(a.freq);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment