From: John Darrington Date: Tue, 20 Jan 2009 22:54:56 +0000 (+0900) Subject: Fix further bug in NPAR BINOMIAL X-Git-Tag: v0.7.1~4 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7da17a401e015805db0ea70234c267d67535a3;p=pspp-builds.git Fix further bug in NPAR BINOMIAL Change "break" to "continue", so that if a binomial variable was missing, only this single variable is skipped rather than all subsequent ones. Thanks to Ben Pfaff for reporting this. --- diff --git a/src/language/stats/binomial.c b/src/language/stats/binomial.c index 65fb22e6..b62b4dce 100644 --- a/src/language/stats/binomial.c +++ b/src/language/stats/binomial.c @@ -112,7 +112,7 @@ do_binomial (const struct dictionary *dict, int width = var_get_width (var); if (var_is_value_missing (var, value, exclude)) - break; + continue; if ( NULL == cat1[v].value ) {