diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 13:02:16 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-09-21 16:33:21 -0400 |
commit | d5fc59bd6792def0da53be8bcc8ca819f2400eed (patch) | |
tree | a1ea82c94b9f75d79b05e37e8245c332e1fbe11c | |
parent | 282ede945635cbda29dd6fee40038e8c96feb458 (diff) | |
download | multi_mode_eit-d5fc59bd6792def0da53be8bcc8ca819f2400eed.tar.gz multi_mode_eit-d5fc59bd6792def0da53be8bcc8ca819f2400eed.zip |
replaced & with shortcut && operator
-rw-r--r-- | useful_functions.m | 2 |
1 files changed, 1 insertions, 1 deletions
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; |