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

Fix usage hint message for pydml's range() function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • SystemML 0.11
    • PythonAPI
    • None

    Description

      for (v in range(1, 4)):
      print(v)
      ERROR [...] The builtin function 'range' accepts exactly 3 arguments (matrix, scalar value that should be replaced (pattern), scalar value (replacement))

      This should say "The builtin function 'range' accepts exactly 3 arguments (from, to, increment)".

      Attachments

        Activity

          People

            sandeepn Sandeep Narayanaswami
            sandeepn Sandeep Narayanaswami
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: