You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by lr...@apache.org on 2015/11/19 21:46:55 UTC

[13/50] [abbrv] incubator-systemml git commit: [SYSML-221] Fix appendr mr instruction parsing (num fields check)

[SYSML-221] Fix appendr mr instruction parsing (num fields check)

Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/14de29d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/14de29d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/14de29d6

Branch: refs/heads/master
Commit: 14de29d62567bff50c9e54b91dd8a3b36b15128b
Parents: 541d398
Author: Matthias Boehm <mb...@us.ibm.com>
Authored: Thu Oct 29 12:27:51 2015 -0700
Committer: Matthias Boehm <mb...@us.ibm.com>
Committed: Thu Oct 29 12:28:30 2015 -0700

----------------------------------------------------------------------
 .../com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/14de29d6/src/main/java/com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java
----------------------------------------------------------------------
diff --git a/src/main/java/com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java b/src/main/java/com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java
index 5429b1d..4ed43a7 100644
--- a/src/main/java/com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java
+++ b/src/main/java/com/ibm/bi/dml/runtime/instructions/mr/AppendRInstruction.java
@@ -38,7 +38,7 @@ public class AppendRInstruction extends AppendInstruction
 		throws DMLRuntimeException 
 	{
 		String[] parts = InstructionUtils.getInstructionParts ( str );
-		InstructionUtils.checkNumFields(parts, 5);
+		InstructionUtils.checkNumFields(parts, 4);
 		
 		byte in1 = Byte.parseByte(parts[1]);
 		byte in2 = Byte.parseByte(parts[2]);