schema

dotemacs 2019-06-20T14:40:36.000400Z

Say that I have the following schema:

(s/defschema MultiplierDataLine
  {:multiplier s/Num :probability s/Num :volatility s/Num})
And when I
(schema.experimental.generators/sample 10 MultiplierDataLine)
I get some values returning as either -Infinity or Infinity. What is the recommended way of adding the constraints so that the values generated stay within a certain range, say -1000 to 1000? Thanks