aboutsummaryrefslogtreecommitdiff
path: root/src/sno_charge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sno_charge.c')
-rw-r--r--src/sno_charge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sno_charge.c b/src/sno_charge.c
index faf7826..fe1e553 100644
--- a/src/sno_charge.c
+++ b/src/sno_charge.c
@@ -93,7 +93,7 @@ double pq(double q, int n)
if (n > MAX_PE) {
/* Assume the distribution is gaussian by the central limit theorem. */
- return norm(q,n*qmean,qstd);
+ return norm(q,n*qmean,sqrt(n)*qstd);
}
if (q < qlo || q > qhi) return 0.0;