Skip to content

Commit 3be9615

Browse files
fix degree
1 parent 90031c7 commit 3be9615

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gw_eccentricity/eccDefinition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,9 +1515,9 @@ def get_rational_fit_for_extrema(self, x, y, data_name=None):
15151515
if self.special_interp_kwargs_for_extrema["denom_degree"] > 1:
15161516
self.special_interp_kwargs_for_extrema["denom_degree"] -= 1
15171517
if self.special_interp_kwargs_for_extrema["num_degree"] == 1 \
1518-
and self.special_interp_kwargs_for_extrema["denom_degree"] == 0:
1518+
and self.special_interp_kwargs_for_extrema["denom_degree"] == 1:
15191519
debug_message(
1520-
"Both numerator and denominator degrees are equal to 0 "
1520+
"Both numerator and denominator degrees are equal to 1 "
15211521
"and cannot be lowered further.",
15221522
debug_level=self.debug_level, important=False)
15231523
break

0 commit comments

Comments
 (0)