projects
/
openpower-isa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add mm=1 svindex test, setting single targetted SVSHAPE
[openpower-isa.git]
/
src
/
openpower
/
decoder
/
isa
/
fastdctlee.py
diff --git
a/src/openpower/decoder/isa/fastdctlee.py
b/src/openpower/decoder/isa/fastdctlee.py
index 8b9258e977d6357b305c8cef0c9139c17c241be1..40444d4c6b477cb136bd4d3c51fdda87d7d21c76 100644
(file)
--- a/
src/openpower/decoder/isa/fastdctlee.py
+++ b/
src/openpower/decoder/isa/fastdctlee.py
@@
-323,6
+323,9
@@
def inverse_transform(vector, root=True, indent=0):
# totally cool *in-place* DCT algorithm
def inverse_transform_iter(vec):
+ # in-place, but actually have to protect the input list!
+ vec = deepcopy(vec)
+
# Initialization
n = len(vec)
print ()