From d8016cfcc12e4961b82a041018a5979578b7af4e Mon Sep 17 00:00:00 2001 From: kylechampley Date: Thu, 25 Jul 2024 07:01:13 -0700 Subject: [PATCH] minor change, just need to commit to merge --- src/leap_filter_sequence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leap_filter_sequence.py b/src/leap_filter_sequence.py index bff3262..edd8588 100644 --- a/src/leap_filter_sequence.py +++ b/src/leap_filter_sequence.py @@ -656,7 +656,7 @@ def cost(self, f): def gradient(self, f): """Calculates the accumulated gradient of all filters""" #if len(self.filters) == 0: - # return None + # return 0.0 D = self.filters[0].leapct.copyData(f) D[:] = 0.0 if self.beta > 0.0: