Skip to content

Commit

Permalink
Merge pull request draffensperger#3 from khaaan/patch-1
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
draffensperger committed Mar 28, 2016
2 parents 279d7c4 + be45757 commit 83c2f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lp.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const ( // iota is reset to 0
)

// AddConstraint adds a constraint to the linear program. This (unlike the
// LPSolve C function), exects the data in the row param to start at index 0
// LPSolve C function), expects the data in the row param to start at index 0
// for the first column.
// See http://lpsolve.sourceforge.net/5.5/add_constraint.htm
func (l *LP) AddConstraint(row []float64, ct ConstraintType, rightHand float64) error {
Expand Down

0 comments on commit 83c2f26

Please sign in to comment.