Update repeatseq.cpp