As a workaround, I think that explicitly converting the gap list returned by libgap.RightTransversal(W, G) into a python list helps. I.e.,
list(libgap.RightTransversal(W, G)) Martin On Thursday, 5 February 2026 at 11:16:52 UTC+1 Martin R wrote: > That's a huge example. > > sage: len(libgap.RightTransversal(W, G)) > 138240 > > I think it is a gap bug, I am checking right now. > > > On Thursday, 5 February 2026 at 07:46:47 UTC+1 [email protected] > wrote: > >> > This is very strange code - you are attempting to change the variable >> of a loop inside a loop. >> > >> > What do you mean to do here? >> > >> > Dima >> >> Well that's not the point. Writing v=W(w) gives the same bug... >> >> Best, >> Michel >> >> PS. This was just some quick test code, but this being said, I think >> assigning to a loop variable is fine. This does not influence the state of >> the iterator. A quick test confirms this. >> >> >> >> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/sage-support/41134954-b206-419f-b918-42d4e50d94bbn%40googlegroups.com.
