On Wed, Dec 9, 2015 at 4:42 PM, Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote: >>> [...] >>> for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { >>> [...] >>> } > > Now we are after the w2-loop and thus: > w2 = sce->ics.group_len[w] = 2 > Ah, I see, it's outside the loop! Pushing a fix.