You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/09/09 01:24:00 UTC

[jira] [Updated] (SYSTEMML-1638) Codegen fails w/ compilation errors for ARIMA

     [ https://issues.apache.org/jira/browse/SYSTEMML-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Weidner updated SYSTEMML-1638:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.15

> 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
>            Assignee: Matthias Boehm
>             Fix For: SystemML 0.15
>
>
> 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.4.14#64029)