Uploaded image for project: 'Apache Spark'
  1. Apache Spark
  2. SPARK-1129

use a predefined seed when seed is zero in XORShiftRandom

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      If the seed is zero, XORShift generates all zeros, which would create unexpected result.

        Gliffy Diagrams

          Attachments

            Activity

            Show
            mengxr Xiangrui Meng added a comment - PR: https://github.com/apache/incubator-spark/pull/645
            Hide
            mengxr Xiangrui Meng added a comment -

            Merged.

            Show
            mengxr Xiangrui Meng added a comment - Merged.
            Hide
            mengxr Xiangrui Meng added a comment -

            To mark resolved.

            Show
            mengxr Xiangrui Meng added a comment - To mark resolved.
            Hide
            mengxr Xiangrui Meng added a comment -

            Merged.

            Show
            mengxr Xiangrui Meng added a comment - Merged.

              People

              • Assignee:
                mengxr Xiangrui Meng
                Reporter:
                mengxr Xiangrui Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: