We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8ad89 commit abe8599Copy full SHA for abe8599
causal_testing/testing/causal_test_result.py
@@ -101,15 +101,15 @@ def ci_low(self):
101
if self.confidence_intervals:
102
try:
103
return self.confidence_intervals[0][0]
104
- except TypeError:
+ except IndexError:
105
return self.confidence_intervals[0]
106
return None
107
108
def ci_high(self):
109
"""Return the higher bracket of the confidence intervals."""
110
111
return self.confidence_intervals[1][0]
112
113
return self.confidence_intervals[1]
114
115
0 commit comments