Fixed bug causing unitary tests for dynSeries::plus and dynSeries::minus to fail.
See http://www.dynare.org/stepan/dynare/tests/report-f4c01a43bc2882e7fd18f3cd82344fff9644088c.logtime-shift
parent
f4c01a43bc
commit
23a6ad22dd
|
@ -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.'])
|
error(['dynDate:: Can''t instantiate the class! The first argument ' inputname(a) ' must be a 1*2 vector of integers.'])
|
||||||
end
|
end
|
||||||
else
|
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)!'])
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue