X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/d6444456ceaeed6fcf1d44386edefb5b1fb8ec66..08697512e84abaa87be93fa61ac30937d24d4364:/examples/diamond.py?ds=sidebyside diff --git a/examples/diamond.py b/examples/diamond.py index 1681054..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.project_out([y])) +print('projected on x:', diam.project([y]))