From 9f84bf2e9361cf9a31b34c6579a2854ab645b5ef Mon Sep 17 00:00:00 2001 From: "Jeroen Van Der Donckt (imec)" Date: Tue, 4 Jun 2024 13:59:01 +0200 Subject: [PATCH] :pray: not writeable strided for vectorized --- tsflex/features/segmenter/strided_rolling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsflex/features/segmenter/strided_rolling.py b/tsflex/features/segmenter/strided_rolling.py index bd07631..bb8728f 100644 --- a/tsflex/features/segmenter/strided_rolling.py +++ b/tsflex/features/segmenter/strided_rolling.py @@ -739,5 +739,5 @@ def _sliding_strided_window_1d( ] return np.lib.stride_tricks.as_strided( - data, shape=shape, strides=strides # , writeable=False + data, shape=shape, strides=strides, writeable=False )