Skip to content

Commit

Permalink
CPUSolver config deleted form method
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 5, 2024
1 parent ddca487 commit 5d42730
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/de/nqueensfaf/impl/CPUSolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,5 @@ public void validate() {
if (presetQueens < 4)
throw new IllegalArgumentException("invalid value for presetQueens: only numbers >=4 are allowed");
}

public void from(CPUSolverConfig config) {
super.load(config);
threadcount = config.threadcount;
presetQueens = config.presetQueens;
}
}
}

0 comments on commit 5d42730

Please sign in to comment.