Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-1184

Unexpected "Initialization depends on if-else execution" warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • Not Applicable
    • Algorithms
    • None

    Description

      I am receiving the following warning when I run the attached script:

      WARN StatementBlock: WARNING: ../StepLinearRegDS.dml -- line 435, column 8 -- Initialization of beta_out depends on if-else execution
      

      beta_out was previously defined in an attempt to remove this warning but did not work:

      beta_out = matrix(1, 1, 1);
      dummy = beta_out + 1;
      print(toString(beta_out));
      

      Attachments

        1. StepLinearRegDS.dml
          18 kB
          Brendan Dwyer

        Activity

          People

            Unassigned Unassigned
            bdwyer Brendan Dwyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: