Uploaded image for project: 'data.generators'
  1. DGEN-4

Document that floating point numbers aren't supported

    Details

      Description

      I noticed that when using `weighted` doesn't work when the weights are not integers. I think this is because `uniform` only returns integer values. For example `(clojure.data.generators/uniform 0.0 1.1)` always seems to return `0`.

      It doesn't mention this explicitly in the documentation, so I am not sure if this is intended behavior.

        Attachments

          Activity

            People

            • Assignee:
              stu Stuart Halloway
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: