[Depmix-commits] r314 - pkg/depmix/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jan 19 13:29:20 CET 2010
Author: ingmarvisser
Date: 2010-01-19 13:29:20 +0100 (Tue, 19 Jan 2010)
New Revision: 314
Modified:
pkg/depmix/src/logl.cc
Log:
Changed definition of a few c++ pointers to conform to standards.
Modified: pkg/depmix/src/logl.cc
===================================================================
--- pkg/depmix/src/logl.cc 2009-11-29 18:42:56 UTC (rev 313)
+++ pkg/depmix/src/logl.cc 2010-01-19 12:29:20 UTC (rev 314)
@@ -11,8 +11,8 @@
int nrcomp=models.getNrComp();
int ngroups=models.getNrGroups();
- int npars[nrcomp];
- int nstates[nrcomp];
+ int *npars = new int[nrcomp];
+ int *nstates = new int[nrcomp];
int totalstates=0;
for(int cp=0; cp<nrcomp; cp++) {
More information about the depmix-commits
mailing list