Simplify CandidateGenerator::next() function.

This commit is contained in:
nortega committed 2025-12-04 11:25:25 +01:00
1 parent 22fe0953ca
commit 744efa105b
1 file changed
+2 -4
+2 -4
View File
@@ -72,12 +72,10 @@ impl CandidateGenerator {
}
}
if self.first_use {
self.first_use = false;
} else {
self.first_use = true;
if !self.first_use {
self.base += 6;
}
self.first_use = !self.first_use;
val
}