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 <pegoncal@redhat.com>
  • Loading branch information
Per Goncalves da Silva authored and perdasilva committed Aug 2, 2023
1 parent 7012b3f commit 32471fb
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))

Check warning on line 56 in cmd/dimacs/cmd.go

View check run for this annotation

Codecov / codecov/patch

cmd/dimacs/cmd.go#L56

Added line #L56 was not covered by tests

// 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 32471fb

Please sign in to comment.