Skip to content

Commit

Permalink
bug fix in cosine smoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Feb 27, 2024
1 parent f25f031 commit 3b9a0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyo2/ssm2/lib/profile/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def cosine_smooth(self):

valid_and_smoothed = self.proc.source[self.proc_valid] == Dicts.sources['smoothing']
# noinspection PyUnresolvedReferences
if (valid_and_smoothed is True).all():
if (valid_and_smoothed == True).all():
return
# logger.debug(valid_and_smoothed)

Expand Down

0 comments on commit 3b9a0ec

Please sign in to comment.