From: Vivien Maisonneuve Date: Thu, 19 Jun 2014 08:10:00 +0000 (+0200) Subject: Fix Expression.__bool__ X-Git-Tag: 1.0~236 X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/commitdiff_plain/0fafeda3d1950de654a929dabf768af85b1be930?ds=sidebyside;hp=383296fc80db17317dd385821265003c01134f50 Fix Expression.__bool__ --- diff --git a/pypol/linear.py b/pypol/linear.py index 2c71c02..749f7c3 100644 --- a/pypol/linear.py +++ b/pypol/linear.py @@ -135,7 +135,7 @@ class Expression: return False def __bool__(self): - True + return True def __pos__(self): return self