Skip to content

Commit

Permalink
one more time...
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeits committed Nov 2, 2017
1 parent 09e1599 commit c43683e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConditionalJuMP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function (==)(e1::Constraint, e2::Constraint)
(e1.c.lb == e2.c.lb) || return false
(e1.c.ub == e2.c.ub) || return false
e1.c.terms.constant == e2.c.terms.constant || return false
length(e1.c.vars) == length(e2.c.vars) || return false
length(e1.c.terms.vars) == length(e2.c.terms.vars) || return false
for i in eachindex(e1.c.terms.vars)
e1.c.terms.vars[i] == e2.c.terms.vars[i] || return false
e1.c.terms.coeffs[i] == e2.c.terms.coeffs[i] || return false
Expand Down

0 comments on commit c43683e

Please sign in to comment.