Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwittek committed Jun 23, 2016
2 parents 1921eb4 + 905120f commit 1765dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncpol2sdpa/sdp_relaxation.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ def process_constraints(self, inequalities=None, equalities=None,
if momentinequalities is not None:
for mineq in momentinequalities:
self.constraints.append(mineq)
self._constraint_to_block_index[constraint] = (block_index, )
self._constraint_to_block_index[mineq] = (block_index, )
block_index += 1
if not (removeequalities or equalities is None):
# Equalities are converted to pairs of inequalities
Expand Down

0 comments on commit 1765dfe

Please sign in to comment.