[
https://issues.apache.org/jira/browse/SYSTEMML-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brendan Dwyer resolved SYSTEMML-1184.
-------------------------------------
Resolution: Not A Problem
Fix Version/s: Not Applicable
> Unexpected "Initialization depends on if-else execution" warning
> ----------------------------------------------------------------
>
> Key: SYSTEMML-1184
> URL: https://issues.apache.org/jira/browse/SYSTEMML-1184
> Project: SystemML
> Issue Type: Bug
> Components: Algorithms
> Reporter: Brendan Dwyer
> Priority: Minor
> Fix For: Not Applicable
>
> Attachments: StepLinearRegDS.dml
>
>
> I am receiving the following warning when I run the attached script:
> {code}
> WARN StatementBlock: WARNING: ../StepLinearRegDS.dml -- line 435, column 8 --
> Initialization of beta_out depends on if-else execution
> {code}
> beta_out was previously defined in an attempt to remove this warning but did
> not work:
> {code}
> beta_out = matrix(1, 1, 1);
> dummy = beta_out + 1;
> print(toString(beta_out));
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)