projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b76a8a
)
Remove potentially misleading citation.
author
Ben Pfaff
<blp@gnu.org>
Mon, 5 Feb 2007 21:15:18 +0000
(21:15 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Mon, 5 Feb 2007 21:15:18 +0000
(21:15 +0000)
src/math/moments.c
patch
|
blob
|
history
diff --git
a/src/math/moments.c
b/src/math/moments.c
index 037d5cf6b4c317184fae47657c3e6aa8aafb9710..9c40016c24b516adad4e412c485f225762545a0d 100644
(file)
--- a/
src/math/moments.c
+++ b/
src/math/moments.c
@@
-43,11
+43,7
@@
calc_moments (enum moment max_moment,
if (max_moment >= MOMENT_VARIANCE && w > 1.)
{
- double s2;
-
- /* From _Numerical Recipes in C_, 2nd ed., 0-521-43108-5,
- section 14.1. */
- s2 = (d2 - pow2 (d1) / w) / (w - 1.);
+ double s2 = (d2 - pow2 (d1) / w) / (w - 1.);
if (variance != NULL)
*variance = s2;