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

Fixed typo.

parent 0d16bfff
...@@ -40,19 +40,19 @@ function A = minus(B,C) ...@@ -40,19 +40,19 @@ function A = minus(B,C)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>. % along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if ~isequal(B.vobs,C.vobs) && ~(isequal(B.vobs,1) || isequal(C.vobs,1)) if ~isequal(B.vobs,C.vobs) && ~(isequal(B.vobs,1) || isequal(C.vobs,1))
error(['dynSeries::plus: Cannot add ' inputname(1) ' and ' inputname(2) ' (wrong number of variables)!']) error(['dynSeries::plus: Cannot substract ' inputname(1) ' and ' inputname(2) ' (wrong number of variables)!'])
end end
if ~isequal(B.nobs,C.nobs) if ~isequal(B.nobs,C.nobs)
error(['dynSeries::plus: Cannot add ' inputname(1) ' and ' inputname(2) ' (wrong number of observations)!']) error(['dynSeries::plus: Cannot substract ' inputname(1) ' and ' inputname(2) ' (wrong number of observations)!'])
end end
if ~isequal(B.freq,C.freq) if ~isequal(B.freq,C.freq)
error(['dynSeries::plus: Cannot add ' inputname(1) ' and ' inputname(2) ' (frequencies are different)!']) error(['dynSeries::plus: Cannot substract ' inputname(1) ' and ' inputname(2) ' (frequencies are different)!'])
end end
if ~isequal(B.init,C.init) if ~isequal(B.init,C.init)
error(['dynSeries::plus: Cannot add ' inputname(1) ' and ' inputname(2) ' (initial dates are different)!']) error(['dynSeries::plus: Cannot substract ' inputname(1) ' and ' inputname(2) ' (initial dates are different)!'])
end end
if isempty(B) if isempty(B)
......
Markdown is supported
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