diff options
| author | J08nY | 2023-10-26 17:41:49 +0200 |
|---|---|---|
| committer | J08nY | 2023-10-26 17:41:49 +0200 |
| commit | 9b54033437cad3af8bb600d90f701337c03a8641 (patch) | |
| tree | ae668058e6cc4c0f32dca66077c18edf033c3149 | |
| parent | dc332720f2d505314cb8e2b954af0f3f669ad5fd (diff) | |
| download | pyecsca-9b54033437cad3af8bb600d90f701337c03a8641.tar.gz pyecsca-9b54033437cad3af8bb600d90f701337c03a8641.tar.zst pyecsca-9b54033437cad3af8bb600d90f701337c03a8641.zip | |
Fix missing samples copy.
| -rw-r--r-- | pyecsca/sca/trace/edit.py | 2 |
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 |
