Skip to content

Commit

Permalink
minor change, just need to commit to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kylechampley committed Jul 25, 2024
1 parent 3e5d2dc commit d8016cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leap_filter_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d8016cf

Please sign in to comment.