From 304c185799902df1dd96a8ff2d13d279005a82e5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 19 Mar 2005 22:50:59 +0000 Subject: [PATCH] (dump_aggregate_info) Properly test whether the destination variable is numeric, when making the result system-missing for columnwise missing values. --- src/ChangeLog | 6 ++++++ src/aggregate.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cb998be2..f2b48da2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 19 14:48:19 2005 Ben Pfaff + + * aggregate.c: (dump_aggregate_info) Properly test whether the + destination variable is numeric, when making the result + system-missing for columnwise missing values. + Mon Mar 14 21:52:34 2005 Ben Pfaff * misc.h: Remove GCC specializations. diff --git a/src/aggregate.c b/src/aggregate.c index f56a2160..55ca5ece 100644 --- a/src/aggregate.c +++ b/src/aggregate.c @@ -996,7 +996,7 @@ dump_aggregate_info (struct agr_proc *agr, struct ccase *output) && (i->function & FUNC) != N && (i->function & FUNC) != NU && (i->function & FUNC) != NMISS && (i->function & FUNC) != NUMISS) { - if (i->function & FSTRING) + if (i->dest->type == ALPHA) memset (v->s, ' ', i->dest->width); else v->f = SYSMIS; -- 2.30.2