fix compaptibility layer in swig/python

This commit is contained in:
lperron@google.com
2014-07-22 19:28:00 +00:00
parent a57ba55235
commit 729ed77ecd
11 changed files with 37 additions and 34 deletions

View File

@@ -214,7 +214,10 @@ from ortools.linear_solver.linear_solver_natural_api import LinearConstraint
self.set_time_limit(x)
def WallTime(self):
return self->wall_time()
return self.wall_time()
def Iterations(self):
return self.iterations()
} // %pythoncode
}