summary refs log tree commit diff stats
path: root/Source/Randomizer2Core.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2019-11-20 10:05:59 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2019-11-20 10:05:59 -0800
commit6f0a34bfb761d965bd961dc1f880b84e35f9959f (patch)
tree9fad4b4d98f5cb644b635c017a959dd3752a0399 /Source/Randomizer2Core.cpp
parentab5652329d3e6bbaaf338e47fb3d84d89bf9b7b1 (diff)
downloadwitness-tutorializer-6f0a34bfb761d965bd961dc1f880b84e35f9959f.tar.gz
witness-tutorializer-6f0a34bfb761d965bd961dc1f880b84e35f9959f.tar.bz2
witness-tutorializer-6f0a34bfb761d965bd961dc1f880b84e35f9959f.zip
Understanding symmetry, but nothing else.
Diffstat (limited to 'Source/Randomizer2Core.cpp')
-rw-r--r--Source/Randomizer2Core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Randomizer2Core.cpp b/Source/Randomizer2Core.cpp index c34fec6..f8d1312 100644 --- a/Source/Randomizer2Core.cpp +++ b/Source/Randomizer2Core.cpp
@@ -24,7 +24,7 @@ std::vector<Pos> Randomizer2Core::CutEdges(const Puzzle& p, size_t numEdges, boo
24 bool inSequence = false; 24 bool inSequence = false;
25 for (Pos pos : p.sequence) inSequence |= (pos.x == x && pos.y == y); 25 for (Pos pos : p.sequence) inSequence |= (pos.x == x && pos.y == y);
26 if (inSequence) continue; 26 if (inSequence) continue;
27 edges.emplace_back(Pos{x, y}); 27 edges.emplace_back(x, y);
28 } 28 }
29 } 29 }
30 return CutEdgesInternal(p, edges, numEdges); 30 return CutEdgesInternal(p, edges, numEdges);