From 878883b492cab163eb30659a78b0b950594a345a Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Wed, 20 Aug 2025 15:20:01 -0400 Subject: [PATCH] & -> && for two booleans --- light-curve/src/features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light-curve/src/features.rs b/light-curve/src/features.rs index 1e19d4c9..9709a75c 100644 --- a/light-curve/src/features.rs +++ b/light-curve/src/features.rs @@ -243,7 +243,7 @@ impl PyFeatureEvaluator { )); } None => { - if feature_evaluator.is_sorting_required() & !is_sorted(t.as_slice()) { + if feature_evaluator.is_sorting_required() && !is_sorted(t.as_slice()) { return Err(Exception::ValueError( "t must be in ascending order".to_string(), ));