]> CRI, Mines Paris - PSL - linpy.git/blobdiff - examples/diamond.py
Remove Vector.__slots__, useless
[linpy.git] / examples / diamond.py
index 1681054c9607379645744dcb0ede75521dca1f2a..5d0de4e9a515acbfe7ebd10b7ceb63d6cf37731a 100755 (executable)
@@ -5,4 +5,4 @@ from pypol import *
 x, y = symbols('x y')
 diam = Ge(y, x - 1) & Le(y, x + 1) & Ge(y, -x - 1) & Le(y, -x + 1)
 print('diamond:', diam)
-print('projected on x:', diam.project_out([y]))
+print('projected on x:', diam.project([y]))