You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by du...@apache.org on 2016/08/19 22:38:51 UTC
incubator-systemml git commit: [SYSTEMML-863] Changed usage hint
message for range() in PydmlSyntacticValidator.
Repository: incubator-systemml
Updated Branches:
refs/heads/master b6bde0d45 -> 9ac1d4f86
[SYSTEMML-863] Changed usage hint message for range() in PydmlSyntacticValidator.
Closes #216.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/9ac1d4f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/9ac1d4f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/9ac1d4f8
Branch: refs/heads/master
Commit: 9ac1d4f861427f5e99a12159eb3d3792a09f256e
Parents: b6bde0d
Author: Sandeep Narayanaswami <sa...@capitalone.com>
Authored: Fri Aug 19 15:37:26 2016 -0700
Committer: Mike Dusenberry <mw...@us.ibm.com>
Committed: Fri Aug 19 15:37:26 2016 -0700
----------------------------------------------------------------------
.../org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/9ac1d4f8/src/main/java/org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java b/src/main/java/org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java
index a8dfe70..e3015c1 100644
--- a/src/main/java/org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java
+++ b/src/main/java/org/apache/sysml/parser/pydml/PydmlSyntacticValidator.java
@@ -958,7 +958,7 @@ public class PydmlSyntacticValidator extends CommonSyntacticValidator implements
}
else if(namespace.equals(DMLProgram.DEFAULT_NAMESPACE) && functionName.equals("range")) {
if(paramExpression.size() != 3) {
- notifyErrorListeners("The builtin function \'" + functionName + "\' accepts exactly 3 arguments (matrix, scalar value that should be replaced (pattern), scalar value (replacement))", fnName);
+ notifyErrorListeners("The builtin function \'" + functionName + "\' accepts exactly 3 arguments (from, to, increment)", fnName);
return null;
}
functionName = "seq";