X-Git-Url: https://scm.cri.minesparis.psl.eu/git/linpy.git/blobdiff_plain/ead3c442d29f0c45989d165f34e27dd0eb7d87c4..ce31a1de5082c55b5eed1825ae95d827c55a8b92:/examples/diamond.py?ds=sidebyside

diff --git a/examples/diamond.py b/examples/diamond.py
index ad0942b..5d0de4e 100755
--- a/examples/diamond.py
+++ b/examples/diamond.py
@@ -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.drop_dims('y'))
+print('projected on x:', diam.project([y]))