Add missing classmethod decorator
authorVivien Maisonneuve <v.maisonneuve@gmail.com>
Wed, 2 Jul 2014 04:10:18 +0000 (06:10 +0200)
committerVivien Maisonneuve <v.maisonneuve@gmail.com>
Wed, 2 Jul 2014 04:10:18 +0000 (06:10 +0200)
pypol/domains.py

index 6b47fe8..b4780fc 100644 (file)
@@ -249,6 +249,7 @@ class Domain:
             self._dimension = len(self._symbols)
             return self
 
             self._dimension = len(self._symbols)
             return self
 
+    @classmethod
     def _toislset(cls, polyhedra, symbols):
         polyhedron = polyhedra[0]
         islbset = polyhedron._toislbasicset(polyhedron.equalities,
     def _toislset(cls, polyhedra, symbols):
         polyhedron = polyhedra[0]
         islbset = polyhedron._toislbasicset(polyhedron.equalities,