Ticket #12973: trac_12973-review.patch

File trac_12973-review.patch, 1005 bytes (added by ncohen, 8 years ago)
  • sage/numerical/backends/gurobi_backend.pxd

    # HG changeset patch
    # User Nathann Cohen <nathann.cohen@gmail.com>
    # Date 1337431382 -7200
    # Node ID 43d1c29f68cd3f5d88cc558b73fade47e2ec732f
    # Parent  60f31b1575f300ebf13e79ce149d61f5cb29efe7
    Adding copy(self) to numerical/backeds/gurobi_backend.pxd
    
    diff --git a/sage/numerical/backends/gurobi_backend.pxd b/sage/numerical/backends/gurobi_backend.pxd
    a b  
    103103
    104104    cdef GRBenv * env
    105105    cdef GRBmodel ** model
     106    cdef GurobiBackend copy(self)
    106107
    107108    cdef int num_vars
    108109
  • sage/numerical/backends/gurobi_backend.pyx

    diff --git a/sage/numerical/backends/gurobi_backend.pyx b/sage/numerical/backends/gurobi_backend.pyx
    a b  
    12051205        else:
    12061206            raise RuntimeError("This should not happen.")
    12071207
    1208     cpdef GurobiBackend copy(self):
     1208    cdef GurobiBackend copy(self):
    12091209        """
    12101210        Returns a copy of self.
    12111211