You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/11/30 08:25:36 UTC
incubator-systemml git commit: [SYSTEMML-768] Fix coercion issue for
table to CsparseMatrix
Repository: incubator-systemml
Updated Branches:
refs/heads/master 3c40180dd -> a6566b89e
[SYSTEMML-768] Fix coercion issue for table to CsparseMatrix
Closes #297.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/a6566b89
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/a6566b89
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/a6566b89
Branch: refs/heads/master
Commit: a6566b89e19a4fa510b5c97f61fd2a6e54086ced
Parents: 3c40180
Author: Kevin Bates <ke...@us.ibm.com>
Authored: Wed Nov 30 00:20:32 2016 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Wed Nov 30 00:20:32 2016 -0800
----------------------------------------------------------------------
src/test/scripts/functions/ternary/CTableRowHist.R | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/a6566b89/src/test/scripts/functions/ternary/CTableRowHist.R
----------------------------------------------------------------------
diff --git a/src/test/scripts/functions/ternary/CTableRowHist.R b/src/test/scripts/functions/ternary/CTableRowHist.R
index 8788d3d..5d88426 100644
--- a/src/test/scripts/functions/ternary/CTableRowHist.R
+++ b/src/test/scripts/functions/ternary/CTableRowHist.R
@@ -37,7 +37,7 @@ Btmp1 = table (IA, VA);
Btmp2 = as.matrix(as.data.frame.matrix(Btmp1));
#remove first row and column (0 values, see missing removeEmpty)
-B = Btmp1[2:nrow(Btmp2),2:ncol(Btmp2)];
+B = Btmp2[2:nrow(Btmp2),2:ncol(Btmp2)];
writeMM(as(B, "CsparseMatrix"), paste(args[2], "B", sep=""));