diff --git a/phasesynchro.m b/phasesynchro.m
index badd59900bc3dc4a818fcb9163e032ff0de3fc52..ffc39e2e0e29d32423ef46e20271d88017154fdf 100644
--- a/phasesynchro.m
+++ b/phasesynchro.m
@@ -60,6 +60,9 @@ function CPRout = phasesynchro(varargin);
 % $Revision$
 %
 % $Log$
+% Revision 5.2  2008/04/29 14:49:30  marwan
+% window size bug
+%
 % Revision 5.1  2008/01/25 12:47:25  marwan
 % initial import
 %
@@ -219,8 +222,8 @@ end
 
 
 % compute RR-tau
-X = taucrp(x, m, t, e, w, check_meth(method),check_norm(nonorm+1));
-X_ = taucrp(y, m, t, e, w, check_meth(method),check_norm(nonorm+1));
+X = taucrp(x, m0, t, e, w, check_meth(method),check_norm(nonorm+1));
+X_ = taucrp(y, m0, t, e, w, check_meth(method),check_norm(nonorm+1));
 
 
 %