projects
/
linpy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
30df333
)
printing out isl format but with wrong value
author
Danielle Bolan
<n02702451@hawkmail.newpaltz.edu>
Thu, 12 Jun 2014 14:47:02 +0000
(16:47 +0200)
committer
Danielle Bolan
<n02702451@hawkmail.newpaltz.edu>
Thu, 12 Jun 2014 14:47:02 +0000
(16:47 +0200)
pypol/linear.py
patch
|
blob
|
history
diff --git
a/pypol/linear.py
b/pypol/linear.py
index
343acc7
..
2ef0d2a
100644
(file)
--- a/
pypol/linear.py
+++ b/
pypol/linear.py
@@
-160,7
+160,7
@@
class Expression:
def __rsub__(self, other):
return -(self - other)
def __rsub__(self, other):
return -(self - other)
-
+
@_polymorphic_method
def __mul__(self, other):
if other.isconstant():
@_polymorphic_method
def __mul__(self, other):
if other.isconstant():