summaryrefslogtreecommitdiff
path: root/useful_functions.m
diff options
context:
space:
mode:
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;