diff --git a/matlab/disclyap_fast.m b/matlab/disclyap_fast.m index c7192d3bc..491a7c7e0 100644 --- a/matlab/disclyap_fast.m +++ b/matlab/disclyap_fast.m @@ -11,7 +11,7 @@ % Joe Pearlman and Alejandro Justiniano % 3/5/2005 % ================================================================= -if nargin == 2 | isempty( ch ) == 1 +if nargin == 2 || isempty( ch ) == 1 flag_ch = 0; else flag_ch = 1; diff --git a/matlab/partial_information/disc_riccati_fast.m b/matlab/partial_information/disc_riccati_fast.m index 812687a71..74c3eab74 100644 --- a/matlab/partial_information/disc_riccati_fast.m +++ b/matlab/partial_information/disc_riccati_fast.m @@ -28,7 +28,7 @@ % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -if nargin == 4 | isempty( ch ) == 1 +if nargin == 4 || isempty( ch ) == 1 flag_ch = 0; else flag_ch = 1;