Skip to content

Commit

Permalink
This was discovered _during_ the meet-up.
Browse files Browse the repository at this point in the history
Good thing I'm badass enough to address this live.
  • Loading branch information
skytreader committed May 25, 2018
1 parent fe49027 commit 05f4bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai/ga/mastermind_solver.py
Expand Up @@ -298,7 +298,7 @@ def mutate(self, variation):
max_iters = int(args["maxiters"]) if args["maxiters"] > 0 else float("inf")

mastermind = MasterMind(numslots, charset=charset)
constructor = type_constructor_map[_type]
constructor = TYPE_CONSTRUCTOR_MAP[_type]
solver = constructor(mastermind, max_iterations=max_iters)

soln = solver.solve()
Expand Down

0 comments on commit 05f4bed

Please sign in to comment.