Skip to content

Commit

Permalink
#3: Fix doubling of map elements in result of solveMax func
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Kushmantsev committed Jul 29, 2019
1 parent f9f997c commit 1000938
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 44 deletions.
9 changes: 0 additions & 9 deletions Gopkg.lock

This file was deleted.

34 changes: 0 additions & 34 deletions Gopkg.toml

This file was deleted.

2 changes: 2 additions & 0 deletions hungarian.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ func SolveMax(matrix [][]float64) map[int]map[int]float64 {

b.setValues()

b.removeExtra()

return b.ReducedExtremums
}

Expand Down
2 changes: 1 addition & 1 deletion hungarian_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package hungarian_test

import (
"hungarian"
"go-hungarian"
"testing"
)

Expand Down

0 comments on commit 1000938

Please sign in to comment.