[ https://issues.apache.org/jira/browse/SYSTEMML-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Boehm updated SYSTEMML-1638: ------------------------------------- Affects Version/s: SystemML 0.14 Fix Version/s: SystemML 1.0 > Codegen fails w/ compilation errors for ARIMA > --------------------------------------------- > > Key: SYSTEMML-1638 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1638 > Project: SystemML > Issue Type: Bug > Affects Versions: SystemML 0.14 > Reporter: Matthias Boehm > Fix For: SystemML 1.0 > > > 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)