From 0459cff832e1392dac1eac9b79e6097ff8ff9a0e Mon Sep 17 00:00:00 2001 From: DavidLapous Date: Sat, 19 Oct 2024 23:43:24 +0200 Subject: [PATCH] fix: slicer args not taken into account --- multipers/_slicer_meta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multipers/_slicer_meta.py b/multipers/_slicer_meta.py index e32526c..cdaddac 100644 --- a/multipers/_slicer_meta.py +++ b/multipers/_slicer_meta.py @@ -137,8 +137,8 @@ def Slicer( dtype = st.dtype if dtype is None else dtype is_kcritical = st.is_kcritical if is_kcritical is None else is_kcritical else: - dtype = np.float64 - is_kcritical = False + dtype = np.float64 if dtype is None else dtype + is_kcritical = False if is_kcritical is None else is_kcritical if is_slicer(st, allow_minpres=False): vineyard = st.is_vine if vineyard is None else vineyard