diff --git a/loopy/statistics.py b/loopy/statistics.py index a0b3a0165b234610f0e78246786d6ef7bb39747c..9b15ec471fb681698b85c1dd2f92376fbc731f00 100755 --- a/loopy/statistics.py +++ b/loopy/statistics.py @@ -104,6 +104,12 @@ class GuardedPwQPolynomial(object): p = isl.PwQPolynomial('{ 0 }') return GuardedPwQPolynomial(p, isl.Set.universe(p.domain().space)) + def __str__(self): + return str(self.pwqpolynomial) + + def __repr__(self): + return repr(self.pwqpolynomial) + # }}}