From 6113e93f2c18f2c053c6114873d3f20ee7967fd2 Mon Sep 17 00:00:00 2001 From: Joeri Exelmans Date: Tue, 4 Nov 2025 10:52:45 +0100 Subject: [PATCH] oops --- argus/src/core/signals/interpolation.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/argus/src/core/signals/interpolation.rs b/argus/src/core/signals/interpolation.rs index 74dcf75..c11ea47 100644 --- a/argus/src/core/signals/interpolation.rs +++ b/argus/src/core/signals/interpolation.rs @@ -33,8 +33,8 @@ impl InterpolationMethod for Constant { /// If the signal does not have a value at a given point, a fixed value is returned pub struct DefaultFalse; -impl InterpolationMethod for DefaultFalse { - fn at(a: &Sample, b: &Sample, time: Duration) -> Option { +impl InterpolationMethod for DefaultFalse { + fn at(a: &Sample, b: &Sample, time: Duration) -> Option { if time == b.time { Some(b.value.clone()) } else if a.time <= time && time < b.time { @@ -44,7 +44,7 @@ impl InterpolationMethod for DefaultFalse { } } - fn find_intersection(_a: &Neighborhood, _b: &Neighborhood) -> Option> { + fn find_intersection(_a: &Neighborhood, _b: &Neighborhood) -> Option> { // The signals must be either constant or colinear. Thus, return None. None }