projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework moments routines for improved numerical stability based on
[pspp-builds.git]
/
src
/
descript.c
diff --git
a/src/descript.c
b/src/descript.c
index 0492b33ed2378a232418f368326974eab88eaf00..93c31717d341042217038331e3f082912339c965 100644
(file)
--- a/
src/descript.c
+++ b/
src/descript.c
@@
-743,12
+743,7
@@
calc_descriptives (const struct casefile *cf, void *dsc_)
}
if (dv->moments != NULL)
- {
- if (dsc->max_moment > MOMENT_MEAN)
- moments_pass_one (dv->moments, x, weight);
- else
- moments_pass_two (dv->moments, x, weight);
- }
+ moments_pass_one (dv->moments, x, weight);
if (x < dv->min)
dv->min = x;