Remove unneccesary 'assert'
@@ -457,9 +457,6 @@ def compute_p_value(mean1, std1, n1, mean2, std2, n2):
if min(n1,n2) < 1 or max(n1,n2) < 2:
return np.nan
- assert min(n1,n2) >= 1
- assert max(n1,n2) >= 2
-
mean_diff = mean1 - mean2
std = pooled_std(std1, n1, std2, n2)
st_error = std * np.sqrt(1. / n1 + 1. / n2)
