Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
EricR committed Dec 14, 2018
1 parent 7b87055 commit 0ea4530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solver/solver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"github.com/ericr/saturday/config"
"github.com/ericr/saturday/lit"
"github.com/ericr/saturday/tribool"
"math"
"log"
"math"
"sort"
)

Expand Down Expand Up @@ -200,7 +200,7 @@ func (s *Solver) SolveMany(ps []int, mCount uint) [][]int {

for i := 0; i < int(mCount); i++ {
if s.Solve(ps) {
s.logger.Printf("Found %d/%d model", i + 1, mCount)
s.logger.Printf("Found %d/%d model", i+1, mCount)

models = append(models, s.Answer())
constrs := s.constrs
Expand Down Expand Up @@ -255,7 +255,7 @@ func (s *Solver) Answer() []int {
sort.Slice(ps, func(i, j int) bool {
i, j = ps[i], ps[j]

if i< 0 {
if i < 0 {
i = -i
}
if j < 0 {
Expand Down

0 comments on commit 0ea4530

Please sign in to comment.