Skip to content

Commit

Permalink
address merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
Per Goncalves da Silva committed Jul 18, 2023
1 parent 98be22e commit a585358
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 274 deletions.
5 changes: 1 addition & 4 deletions cmd/dimacs/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ func solve(path string) error {
}

// build solver
so, err := solver.NewDeppySolver(NewDimacsVariableSource(dimacs))
if err != nil {
return err
}
so := solver.NewDeppySolver(NewDimacsVariableSource(dimacs))

// get solution
solution, err := so.Solve(context.Background(), solver.AddAllVariablesToSolution())
Expand Down
5 changes: 1 addition & 4 deletions cmd/sudoku/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ func NewSudokuCommand() *cobra.Command {
func solve() error {
// build solver
sudoku := &Sudoku{}
so, err := solver.NewDeppySolver(sudoku)
if err != nil {
return err
}
so := solver.NewDeppySolver(sudoku)

// get solution
solution, err := so.Solve(context.Background())
Expand Down
61 changes: 0 additions & 61 deletions pkg/deppy/input/cache_entity_source.go

This file was deleted.

205 changes: 0 additions & 205 deletions pkg/deppy/input/entity_source_test.go

This file was deleted.

0 comments on commit a585358

Please sign in to comment.