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

Commit

Permalink
Fixed an issue that made the UI class be created twice
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Jarski <michal@jarski.eu>
  • Loading branch information
Hookz committed Oct 19, 2019
1 parent 4c4ed8d commit 073b97e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/java/Search.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public static void search() {
//process the support matrix to get the solution out
if(supMat.size()>0){
solutionField=processSolution(matrix,field);
UI ui = new UI(horizontalGridSize, verticalGridSize, 50);
ui.setState(solutionField);
} else {
System.out.println("no solution for this matrix");
Expand Down

0 comments on commit 073b97e

Please sign in to comment.