Skip to content

Commit

Permalink
random size mean can be above 1
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearkatie committed Nov 28, 2023
1 parent 443d8a2 commit ef44866
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/sink.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,13 @@ class Sink
"tooltip": "fraction of available space to determine the mean", \
"uilabel": "Random Size Mean", \
"uitype": "range", \
"range": [0.0, 1.0], \
"range": [0.0, 1e299], \
"doc": "When a normal distribution is used to determine the " \
"size of the request, this is the fraction of available " \
"space to use as the mean. Default 1.0, must be between " \
"0.0 and 1.0"}
"space to use as the mean. Default 1.0. Note " \
"that values significantly above 1 without a " \
"correspondingly large std dev may result in " \
"inefficient use of the random number generator."}
double random_size_mean;

// random size std dev (as a fraction of available space)
Expand Down

0 comments on commit ef44866

Please sign in to comment.