diff options
Diffstat (limited to 'numpy/oldnumeric/random_array.py')
-rw-r--r-- | numpy/oldnumeric/random_array.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/random_array.py b/numpy/oldnumeric/random_array.py index 550af720c..e8d386ce4 100644 --- a/numpy/oldnumeric/random_array.py +++ b/numpy/oldnumeric/random_array.py @@ -166,7 +166,7 @@ def multinomial(trials, probs, shape=[]): trials is the number of trials in each multinomial distribution. probs is a one dimensional array. There are len(prob)+1 events. prob[i] is the probability of the i-th event, 0<=i<len(prob). - The probability of event len(prob) is 1.-Numeric.sum(prob,axis=0). + The probability of event len(prob) is 1.-Numeric.sum(prob). The first form returns a single 1-D array containing one multinomially distributed vector. |