Verified Commit 72201f21 authored by LeoFun01's avatar LeoFun01

Fix `GetEnumerator`.

parent 05508ca0
......@@ -189,7 +189,7 @@ private sealed class ReflectionsSet : FlipRotateSet
}
public override IEnumerator<T> GetEnumerator() {
int p = _p;
byte c = (byte)Count;
byte c = (byte)base.Count;
for(byte i = 0; i < c; ++i) {
if(!IsRotational(i))
yield return new T(p & 7);
......@@ -212,7 +212,7 @@ private sealed class RotationsGroup : FlipRotateGroup
}
public override IEnumerator<T> GetEnumerator() {
int p = _p;
byte c = (byte)Count;
byte c = (byte)base.Count;
for(byte i = 0; i < c; ++i) {
if(IsRotational(i))
yield return new T(p & 7);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment