[Depmix-commits] r621 - pkg/depmix/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Feb 20 13:23:36 CET 2014
Author: ingmarvisser
Date: 2014-02-20 13:23:36 +0100 (Thu, 20 Feb 2014)
New Revision: 621
Modified:
pkg/depmix/src/matrix.cc
pkg/depmix/src/matrix.h
Log:
removed unused variables
Modified: pkg/depmix/src/matrix.cc
===================================================================
--- pkg/depmix/src/matrix.cc 2014-02-20 08:30:36 UTC (rev 620)
+++ pkg/depmix/src/matrix.cc 2014-02-20 12:23:36 UTC (rev 621)
@@ -314,7 +314,7 @@
double max(matrix a) {
if(!(a.row==1||a.col==1)) error("[Matrix] max only defined for row or col vector.\n");
- int maxidx=1;
+// int maxidx=1;
int idx=0;
double max=a(1);
if(a.row==1) idx=a.col;
Modified: pkg/depmix/src/matrix.h
===================================================================
--- pkg/depmix/src/matrix.h 2014-02-20 08:30:36 UTC (rev 620)
+++ pkg/depmix/src/matrix.h 2014-02-20 12:23:36 UTC (rev 621)
@@ -7,7 +7,7 @@
extern "C" {
#include <R.h>
- static int matrixConst;
+/* static int matrixConst; */
}
#define MATRIXBOUNDS 1
More information about the depmix-commits
mailing list