Update rr.c

Minor comparison error.