[
https://issues.apache.org/jira/browse/SYSTEMML-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827040#comment-15827040
]
Brendan Dwyer commented on SYSTEMML-1184:
-----------------------------------------
disregard. beta_out was created inside a function.
> 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)