You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/05/28 21:56:04 UTC
[jira] [Created] (SYSTEMML-1638) Codegen fails w/ compilation
errors for ARIMA
Matthias Boehm created SYSTEMML-1638:
----------------------------------------
Summary: Codegen fails w/ compilation errors for ARIMA
Key: SYSTEMML-1638
URL: https://issues.apache.org/jira/browse/SYSTEMML-1638
Project: SystemML
Issue Type: Bug
Reporter: Matthias Boehm
ARIMA fails with the following java compilation error for the shown generated operator:
{code}
public final class TMP14 extends SpoofRowwise {
public TMP14() {
super(RowType.ROW_AGG, 0);
}
protected void genexecRowDense( double[] a, int ai, double[][] b, double[] scalars, double[] c, int len, int rowIndex ) {
double TMP6 = LibSpoofPrimitives.vectSum(a, ai, len);
double TMP7 = getValue(a, 5, rowIndex, scalars[0]-1);
double TMP8 = TMP6 - TMP7;
double TMP9 = TMP8 / 4;
c[rowIndex] = TMP9;
}
protected void genexecRowSparse( double[] avals, int[] aix, int ai, double[][] b, double[] scalars, double[] c, int len, int rowIndex ) {
double TMP10 = LibSpoofPrimitives.vectSum(avals, aix, ai, len);
double TMP11 = getValue(avals, 5, rowIndex, scalars[0]-1);
double TMP12 = TMP10 - TMP11;
double TMP13 = TMP12 / 4;
c[rowIndex] = TMP13;
}
}
ERROR: target\testTemp\applications\arima_box-jenkins\ArimaDMLTest\arima\localtmp\_p13800_1.2.345.678\codegen\codegen\TMP14.java:13: error: no suitable method found for getValue(double[],int,int,double)
double TMP7 = getValue(a, 5, rowIndex, scalars[0]-1);
^
method org.apache.sysml.runtime.codegen.SpoofOperator.getValue(double[],int,int,int) is not applicable
(argument mismatch; possible lossy conversion from double to int)
method org.apache.sysml.runtime.codegen.SpoofOperator.getValue(org.apache.sysml.runtime.codegen.SpoofOperator.SideInput,int,int,int) is not applicable
(argument mismatch; double[] cannot be converted to org.apache.sysml.runtime.codegen.SpoofOperator.SideInput)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)