From ed9dc1a44fb30be37c3133def2917f3804d8f385 Mon Sep 17 00:00:00 2001 From: Jason Stover Date: Fri, 16 Dec 2005 00:08:28 +0000 Subject: [PATCH] *** empty log message *** --- src/regression.q | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regression.q b/src/regression.q index eced9544..5d95f050 100644 --- a/src/regression.q +++ b/src/regression.q @@ -486,7 +486,7 @@ subcommand_export (int export, pspp_linreg_cache *c) fp = fopen (handle_get_filename (model_file), "w"); fprintf (fp, "/* PSPP-generated linear regression model.\n Copyright (C) 2005 Free Software Foundation, Inc.\n Generated by the GNU PSPP regression procedure.\n\n This program is free software; you can redistribute it and/or\n modify it under the terms of the GNU General Public License as\n published by the Free Software Foundation; either version 2 of the\n License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful, but\n WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with GNU PSPP; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n 02110-1301, USA. */\n\n"); fprintf (fp, "#include \n\n"); - fprintf (fp, "double\npspp_reg_estimate (const double *var_vals, conts char *[] var_names)\n{\n\tchar *model_depvars[%d] = {", c->n_indeps); + fprintf (fp, "double\npspp_reg_estimate (const double *var_vals, const char *[] var_names)\n{\n\tchar *model_depvars[%d] = {", c->n_indeps); for (i = 1; i < c->n_indeps; i++) { coeff = c->coeff[i]; -- 2.30.2