Skip to content

Commit d35285c

Browse files
Merge pull request #5 from RussTedrake/comuting
fix typo: comuting => computing
2 parents 3d6444f + 3326b56 commit d35285c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

binomial_cis/conf_intervals.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ def binom_ci(k, n, alpha, side, verbose=True, randomized=True):
125125
Either a lower bound, upper bound, or simultaneous lower & upper bounds (returned as a tuple)
126126
"""
127127
if side == "lb":
128-
print("Comuting lower confidence bound") if verbose else None
128+
print("Computing lower confidence bound") if verbose else None
129129
CI = get_lb(k, n, alpha, randomized=randomized)
130130
elif side == "ub":
131-
print("Comuting upper confidence bound") if verbose else None
131+
print("Computing upper confidence bound") if verbose else None
132132
# lb on failure prob is 1 - ub on success prob
133133
q_lb = get_lb(n-k, n, alpha, randomized=randomized)
134134
CI = 1 - q_lb
135135
elif side == "lb,ub":
136-
print("Comuting 2-sided confidence bound") if verbose else None
136+
print("Computing 2-sided confidence bound") if verbose else None
137137
CI = get_lb_ub(k, n, alpha)
138138
else:
139139
raise ValueError("Invalid argument for 'side' given!")

0 commit comments

Comments
 (0)