Re: [sage-combinat-devel] conjugate_position in words

2011-03-21 Thread Nicolas M. Thiery
Hi Alessandro, On Sun, Mar 20, 2011 at 05:48:22PM -0700, Alessandro De Luca wrote: > I am writing because the conjugate_position method (for finite words) > is not working the way I expected. I believe that the output for > > w.conjugate(-1).conjugate_position(w) > > should equal w.lengt

[sage-combinat-devel] conjugate_position in words

2011-03-21 Thread Alessandro De Luca
Hi everybody, I am writing because the conjugate_position method (for finite words) is not working the way I expected. I believe that the output for w.conjugate(-1).conjugate_position(w) should equal w.length()-1 for all words w on at least two letters. However, I seem to get no answer, all the