Skip to content

Commit

Permalink
Corrects linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
meikpiep committed Oct 15, 2023
1 parent 06da71d commit ed8e098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ open class DLX(
}

private fun isSolved(): Boolean {
return (solvetype == SolveType.ONE && numberOfSolutions > 0)
|| (solvetype == SolveType.MULTIPLE && numberOfSolutions > 1)
return (solvetype == SolveType.ONE && numberOfSolutions > 0) ||
(solvetype == SolveType.MULTIPLE && numberOfSolutions > 1)
}

enum class SolveType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.piepmeyer.gauguin.creation.dlx
internal class DLXColumn : LL2DNode() {
// Number of items in column
var size = 0
private set
private set

init {
up = this
Expand Down

0 comments on commit ed8e098

Please sign in to comment.