diff --git a/jrp.m b/jrp.m
index 1bee37266caade2d82e6c1ca5a0273a8aadc1289..6d82c3e514adbc6b3a8e6b153706e8eab61c95f5 100644
--- a/jrp.m
+++ b/jrp.m
@@ -81,6 +81,9 @@ function xout=jrp(varargin)
 % $Revision$
 %
 % $Log$
+% Revision 2.5  2007/05/15 17:33:13  marwan
+% new neighbourhood criterion: fixed RR
+%
 % Revision 2.4  2006/10/24 14:16:16  marwan
 % minor change: sigma in title line of RP shown only for normalised data
 %
@@ -899,7 +902,7 @@ switch(action)
       py = permute(y2, [ 3 1 2 ]);
       s1 = px(:,ones(1,NY),:) - py(ones(1,NY),:,:);
       if check_stop(hCRP,hCtrl,nogui,obj), return, end
-      sy = sqrt(sum(s1.^2, 3))'
+      sy = sqrt(sum(s1.^2, 3))';
       if check_stop(hCRP,hCtrl,nogui,obj), return, end
 
       set(findobj('Tag','Status','Parent',findobj('Parent',hCRP,'Tag','CRPPlot')),'String','Building JRP Matrix'),drawnow