Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
allow as few as 2 starting positions
Browse files Browse the repository at this point in the history
  • Loading branch information
malytomas committed Dec 1, 2023
1 parent 90a1746 commit 247b88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/startingPositions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace unnatural
for (uint32 attempt = 0; attempt < Limit; attempt++)
{
std::vector<uint32> proposal = proposeSolution(allCandidates);
if (proposal.size() < 3)
if (proposal.size() < 2)
continue;
const Real score = scorePositionsEquidistance(proposal);
if (score > bestScore)
Expand Down

0 comments on commit 247b88c

Please sign in to comment.