[CQF] Fix ArrDistribution generation on windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QO 2023-02-06
    • 154
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Avoid initializing a std::discrete_distribution for the parentDescriptor if _reuseScalarsRatio is 0. On Windows, the STL implementation makes an assertion that the probabilities sum to greater than 0. In the case that we build a dataset descriptor with only one ArrDistribution, we hit this assertion. Example

              Assignee:
              Ben Shteinfeld
              Reporter:
              Ben Shteinfeld
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: