Skip to content

Commit 1aaabf1

Browse files
juanitorduzCopilot
andcommitted
Update causalpy/experiments/regression_kink.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent aa0ca3b commit 1aaabf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causalpy/experiments/regression_kink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def summary(self, round_to: int | None = 2) -> None:
210210
Kink point on running variable: {self.kink_point}
211211
212212
Results:
213-
Change in slope at kink point = {round_num(self.gradient_change.mean(), round_to if round_to is not None else 2)}
213+
Change in slope at kink point = {round_num(self.gradient_change.mean(), round_to)}
214214
"""
215215
)
216216
self.print_coefficients(round_to)

0 commit comments

Comments
 (0)