[ https://issues.apache.org/jira/browse/SYSTEMML-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Boehm closed SYSTEMML-1640. ------------------------------------ > Codegen fails w/ compilations errors for Cspline > ------------------------------------------------ > > Key: SYSTEMML-1640 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1640 > Project: SystemML > Issue Type: Bug > Affects Versions: SystemML 0.14 > Reporter: Matthias Boehm > Assignee: Matthias Boehm > Fix For: SystemML 1.0 > > > Code generation fails with the following compilation errors - due to invalid > generated code - for Cspline > {code} > public final class TMP31 extends SpoofRowwise { > public TMP31() { > super(RowType.ROW_AGG, 0); > } > protected void genexecRowDense( double[] a, int ai, double[][] b, double[] > scalars, double[] c, int len, int rowIndex ) { > double TMP27 = LibSpoofPrimitives.dotProduct(a, b[0], ai, 0, len); > LibSpoofPrimitives.vectMultAdd(a, TMP27, c, ai, 0, len); > c[rowIndex] = TMP28; > } > protected void genexecRowSparse( double[] avals, int[] aix, int ai, > double[][] b, double[] scalars, double[] c, int len, int rowIndex ) { > double TMP29 = LibSpoofPrimitives.dotProduct(avals, b[0], aix, ai, 0, > len); > LibSpoofPrimitives.vectMultAdd(avals, TMP29, c, aix, ai, 0, len); > c[rowIndex] = TMP30; > } > } > ERROR: > target\testTemp\applications\cspline\CsplineCGDMLTest\CsplineCG\localtmp\_p10844_1.2.345.678\codegen\codegen\TMP31.java:14: > error: cannot find symbol > c[rowIndex] = TMP28; > ^ > symbol: variable TMP28 > location: class codegen.TMP31 > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)