From d5fc59bd6792def0da53be8bcc8ca819f2400eed Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 21 Sep 2020 13:02:16 -0400 Subject: replaced & with shortcut && operator --- useful_functions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/useful_functions.m b/useful_functions.m index 0cc4952..2d46723 100644 --- a/useful_functions.m +++ b/useful_functions.m @@ -200,7 +200,7 @@ function [rhoLiouville_dot, L]=constrain_rho_and_match_L( ... m=rhoLiouville_r(i); n=rhoLiouville_c(i); w=modulation_freq(w2i); - if ((w==0) & (m==n)) + if ((w==0) && (m==n)) L(1,i)=1; else L(1,i)=0; -- cgit v1.2.3