From: Jason Stover Date: Wed, 12 Oct 2005 21:09:04 +0000 (+0000) Subject: minor edits X-Git-Tag: v0.6.0~1200 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=494a50b0d023c55b61caf33e3887379332166d07;p=pspp-builds.git minor edits --- diff --git a/src/cat.c b/src/cat.c index eb698ca9..934a4d31 100644 --- a/src/cat.c +++ b/src/cat.c @@ -53,6 +53,9 @@ #define CR_VALUE_NOT_FOUND -2 #define CR_INDEX_NOT_FOUND -3 +static gsl_vector_const_view cr_value_to_vector (const union value *, + struct recoded_categorical *); + struct recoded_categorical * cr_recoded_categorical_create (const struct variable *v) { @@ -218,7 +221,7 @@ cr_subscript_to_value (const size_t s, struct recoded_categorical *cr) Return the row of the matrix corresponding to the value v. */ -gsl_vector_const_view +static gsl_vector_const_view cr_value_to_vector (const union value * v, struct recoded_categorical * cr) { size_t row; diff --git a/src/cat.h b/src/cat.h index 80c31794..700f4a30 100644 --- a/src/cat.h +++ b/src/cat.h @@ -71,8 +71,8 @@ struct recoded_categorical /* There are usually multiple categorical variables to recode. Get rid - of this immediately once the variable structure has been modified to - contain the binary encoding. + of this structure immediately when the variable structure has been + modified to contain the binary encoding. */ struct recoded_categorical_array { @@ -118,9 +118,6 @@ struct design_matrix const union value *cr_vector_to_value (const gsl_vector *, struct recoded_categorical *); -gsl_vector_const_view cr_value_to_vector (const union value *, - struct recoded_categorical *); - void cr_value_update (struct recoded_categorical *, const union value *); int cr_free_recoded_array (struct recoded_categorical_array *);