Skip to content

Commit

Permalink
Another fix for refined series
Browse files Browse the repository at this point in the history
Add Assertion in RefinedSeries
  • Loading branch information
hulpke committed Aug 13, 2016
1 parent 609ec44 commit c417ec5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/grp.gi
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,9 @@ local new,i,c;
if Size(new[Length(new)])>Size(c) then
Add(new,c);
fi;
Add(new,ser[i]);
if Size(new[Length(new)])>Size(ser[i]) then
Add(new,ser[i]);
fi;
sub:=Intersection(sub,ser[i]);
i:=i+1;
od;
Expand All @@ -673,6 +675,7 @@ local new,i,c;
Add(new,ser[i]);
i:=i+1;
od;
Assert(1,ForAll([1..Length(new)-1],x->Size(new[x])<>Size(new[x+1])));
return new;
end);

Expand Down

0 comments on commit c417ec5

Please sign in to comment.