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

Fixed bug causing unitary tests for dynSeries::plus and dynSeries::minus to fail.

See http://www.dynare.org/stepan/dynare/tests/report-f4c01a43bc2882e7fd18f3cd82344fff9644088c.log
parent f4c01a43
......@@ -171,7 +171,7 @@ switch nargin
error(['dynDate:: Can''t instantiate the class! The first argument ' inputname(a) ' must be a 1*2 vector of integers.'])
end
else
if isequal(date.freq,1) && isequal(a(2),1)
if isequal(date.freq,1) && ~isequal(a(2),1)
error(['dynDate:: Can''t instantiate the class! The second element of the first input argument ' inputname(a) ' must be equal to one (because freq==1)!'])
end
end
......
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