diff --git a/matlab/kronecker/A_times_B_kronecker_C.m b/matlab/kronecker/A_times_B_kronecker_C.m
index 3d9b99f63992296d1d0c8217b7730a2f7cf135e6..738123684fecfdecb2dffe6c3e436a1f69215ef2 100644
--- a/matlab/kronecker/A_times_B_kronecker_C.m
+++ b/matlab/kronecker/A_times_B_kronecker_C.m
@@ -16,7 +16,7 @@ function D = A_times_B_kronecker_C(A,B,C)
 % SPECIAL REQUIREMENTS
 %   none.
 
-% Copyright (C) 1996-2008 Dynare Team
+% Copyright (C) 1996-2010 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -34,7 +34,7 @@ function D = A_times_B_kronecker_C(A,B,C)
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 % Chek number of inputs and outputs.
-if nargin>3 | nargin<2
+if nargin>3 || nargin<2
     error('Two or Three input arguments required!')
 end
 if nargout>1
diff --git a/matlab/qz/mjdgges.m b/matlab/qz/mjdgges.m
index 3004091de029d9fdb15e1807f08e3203fd952cb1..db231449db2edc1f6c96a93f2ac4d19cb1ddfdf8 100644
--- a/matlab/qz/mjdgges.m
+++ b/matlab/qz/mjdgges.m
@@ -21,7 +21,7 @@ function [ss,tt,w,sdim,eigval,info] = mjdgges(e,d,qz_criterium)
 % SPECIAL REQUIREMENTS
 %   none.
 
-% Copyright (C) 1996-2009 Dynare Team
+% Copyright (C) 1996-2010 Dynare Team
 %
 % This file is part of Dynare.
 %
@@ -39,7 +39,7 @@ function [ss,tt,w,sdim,eigval,info] = mjdgges(e,d,qz_criterium)
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 % Chek number of inputs and outputs.
-if nargin>3 | nargin<2
+if nargin>3 || nargin<2
     error('Three or two input arguments required!')
 end
 if nargout>6
@@ -48,7 +48,7 @@ end
 % Check the first two inputs.
 [me,ne] = size(e);
 [md,nd] = size(d);
-if ( ~isreal(e) | ~isreal(d) | me~=ne | md~=nd | me~=nd)
+if ( ~isreal(e) || ~isreal(d) || me~=ne || md~=nd || me~=nd)
     % info should be negative in this case, see dgges.f.
     error('MJDGGES requires two square real matrices of the same dimension.')
 end