Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix double def in interactivelp_backend.pxd
Browse files Browse the repository at this point in the history
  • Loading branch information
yuan-zhou committed Apr 11, 2022
1 parent b6dd9ab commit 1ab3f86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/sage/numerical/backends/interactivelp_backend.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ cdef class InteractiveLPBackend(GenericBackend):
coefficients=*) \
except -1

cpdef int solve(self, basic_variables=*) except -1

cpdef int solve(self) except -1
cpdef set_dictionary(self, basic_variables=*)

Expand Down
2 changes: 1 addition & 1 deletion src/sage/numerical/backends/interactivelp_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ cdef class InteractiveLPBackend:
problem_type, ring, objective_constant_term=d)
return self.ncols() - 1

cpdef set_variable_type(self, int variable, int vtype):
cpdef set_variable_type(self, int variable, int vtype):
"""
Set the type of a variable.
Expand Down

0 comments on commit 1ab3f86

Please sign in to comment.