aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pyecsca/sca/trace/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/sca/trace/edit.py b/pyecsca/sca/trace/edit.py
index 14d162a..47b455e 100644
--- a/pyecsca/sca/trace/edit.py
+++ b/pyecsca/sca/trace/edit.py
@@ -33,7 +33,7 @@ def reverse(trace: Trace) -> Trace:
:param trace: The trace to reverse.
:return:
"""
- return trace.with_samples(np.flipud(trace.samples))
+ return trace.with_samples(np.flipud(trace.samples).copy())
@public