summaryrefslogtreecommitdiff
path: root/useful_functions.m
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-21 13:02:16 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-21 16:33:21 -0400
commitd5fc59bd6792def0da53be8bcc8ca819f2400eed (patch)
treea1ea82c94b9f75d79b05e37e8245c332e1fbe11c /useful_functions.m
parent282ede945635cbda29dd6fee40038e8c96feb458 (diff)
downloadmulti_mode_eit-d5fc59bd6792def0da53be8bcc8ca819f2400eed.tar.gz
multi_mode_eit-d5fc59bd6792def0da53be8bcc8ca819f2400eed.zip
replaced & with shortcut && operator
Diffstat (limited to 'useful_functions.m')
-rw-r--r--useful_functions.m2
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;