Use displaystyle in _repr_latex_
[linpy.git] / pypol / domains.py
index 28ce533..5db1856 100644 (file)
@@ -361,7 +361,7 @@ class Domain(GeometricObject):
                             coordinate = -Fraction(constant, coefficient)
                             coordinates.append((symbol, coordinate))
             else:
-                
+
                 # horrible hack, find a cleaner solution
                 string = islhelper.isl_multi_aff_to_str(expr)
                 matches = self._RE_COORDINATE.finditer(string)
@@ -521,7 +521,7 @@ class Domain(GeometricObject):
         strings = []
         for polyhedron in self.polyhedra:
             strings.append('({})'.format(polyhedron._repr_latex_().strip('$')))
-        return '${}$'.format(' \\vee '.join(strings))
+        return '$${}$$'.format(' \\vee '.join(strings))
 
     @classmethod
     def fromsympy(cls, expr):