Skip to content

Commit

Permalink
Merge pull request scipopt#267 from bzfmuelh/doxygen
Browse files Browse the repository at this point in the history
changed names of variables SCIP_VAR, SCIP_COL, SCIP_ROW, SCIP_NODE, S…
  • Loading branch information
mattmilten authored Mar 25, 2019
2 parents 8ec067d + 322a1b8 commit d22f144
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 205 deletions.
2 changes: 1 addition & 1 deletion src/pyscipopt/benders.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,5 @@ cdef SCIP_RETCODE PyBendersGetvar (SCIP* scip, SCIP_BENDERS* benders, SCIP_VAR*
if mappedvariable is None:
mappedvar[0] = NULL
else:
mappedvar[0] = mappedvariable.var
mappedvar[0] = mappedvariable.scip_var
return SCIP_OKAY
2 changes: 1 addition & 1 deletion src/pyscipopt/conshdlr.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ cdef SCIP_RETCODE PyConsTrans (SCIP* scip, SCIP_CONSHDLR* conshdlr, SCIP_CONS* s
# otherwise use the created cons
if "targetcons" in result_dict:
PyTargetCons = result_dict.get("targetcons")
targetcons[0] = PyTargetCons.cons
targetcons[0] = PyTargetCons.scip_cons
Py_INCREF(PyTargetCons)
else:
PY_SCIP_CALL(SCIPcreateCons(scip, targetcons, str_conversion(PySourceCons.name), conshdlr, <SCIP_CONSDATA*>PySourceCons,
Expand Down
Loading

0 comments on commit d22f144

Please sign in to comment.