systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SYSTEMML-2340) Missing indexing hop size reset on negative reconcile after loops
Date Tue, 19 Jun 2018 01:59:00 GMT

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

Matthias Boehm closed SYSTEMML-2340.
------------------------------------
       Resolution: Fixed
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.2

> Missing indexing hop size reset on negative reconcile after loops
> -----------------------------------------------------------------
>
>                 Key: SYSTEMML-2340
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2340
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>            Priority: Major
>             Fix For: SystemML 1.2
>
>
> The below script incorrectly returns 100 instead of 98. Although the difference is detected
during reconciliation after size propagation through the loop, the indexing hop current does
not allow for size reset and thus the correction pass is ineffective here.
> {code}
> X = rand(rows=100, cols=1);
> Y = X
> # two loop iterationn -> nrow(X)=98
> for( i in seq(1,2,1) ) {
>    n1 = nrow(Y) + 0.0;
>    Y = Y[2:n1,] - Y[1:n1-1,];
> }
> print(nrow(Y));
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message