From 0fafeda3d1950de654a929dabf768af85b1be930 Mon Sep 17 00:00:00 2001 From: Vivien Maisonneuve Date: Thu, 19 Jun 2014 10:10:00 +0200 Subject: [PATCH 1/1] Fix Expression.__bool__ --- pypol/linear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1