[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/regression.q
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/regression.q |
Date: |
Wed, 26 Oct 2005 01:07:38 -0400 |
Index: pspp/src/regression.q
diff -u pspp/src/regression.q:1.9 pspp/src/regression.q:1.10
--- pspp/src/regression.q:1.9 Tue Oct 25 19:59:48 2005
+++ pspp/src/regression.q Wed Oct 26 05:06:14 2005
@@ -506,11 +506,11 @@
n_data = casefile_get_case_cnt (cf);
n_indep = cmd.n_variables - cmd.n_dependent;
- indep_vars = (size_t *) malloc (n_indep * sizeof (*indep_vars));
+ indep_vars = xnmalloc (n_indep, sizeof *indep_vars);
Y = gsl_vector_alloc (n_data);
lopts.get_depvar_mean_std = 1;
- lopts.get_indep_mean_std = (int *) malloc (n_indep * sizeof (int));
+ lopts.get_indep_mean_std = xnmalloc (n_indep, sizeof (int));
lcache = pspp_linreg_cache_alloc (n_data, n_indep);
lcache->indep_means = gsl_vector_alloc (n_indep);
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/12
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/13
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/14
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/14
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/18
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/18
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/18
- [Pspp-cvs] Changes to pspp/src/regression.q, Ben Pfaff, 2005/10/23
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/25
- [Pspp-cvs] Changes to pspp/src/regression.q,
Ben Pfaff <=
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/28
- [Pspp-cvs] Changes to pspp/src/regression.q, Jason H Stover, 2005/10/30