Partially reverted Ferhat's commit 16a73af066fb52cce1ecc98c5e434d7528db2e1f.

time-shift
Stéphane Adjemian (Charybdis) 2013-06-17 17:27:19 +02:00
parent 480704ff17
commit 479034ae6d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function A = minus(B,C)
%
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
[B, C] = align(B, C);
if ~isequal(B.vobs,C.vobs) && ~(isequal(B.vobs,1) || isequal(C.vobs,1))
error(['dynSeries::minus: Cannot substract ' inputname(1) ' and ' inputname(2) ' (wrong number of variables)!'])
else