# HG changeset patch # User Rik # Date 1455042875 28800 # Node ID 6b0ded11d7087822702146919216c74feadf5991 # Parent 732ec49d1ec5c5dd5332f8d2364f010514b4c5c2 Fix cut/paste error in rande documentation (bug #47097). * rand.cc (Frande): Refer to rande and exponential distribution in docstring. diff -r 732ec49d1ec5 -r 6b0ded11d708 libinterp/corefcn/rand.cc --- a/libinterp/corefcn/rand.cc Mon Feb 08 20:35:29 2016 -0800 +++ b/libinterp/corefcn/rand.cc Tue Feb 09 10:34:35 2016 -0800 @@ -638,8 +638,9 @@ \n\ The arguments are handled the same as the arguments for @code{rand}.\n\ \n\ -By default, @code{randn} uses the @nospell{Marsaglia and Tsang}\n\ -``Ziggurat technique'' to transform from a uniform to a normal distribution.\n\ +By default, @code{rande} uses the @nospell{Marsaglia and Tsang}\n\ +``Ziggurat technique'' to transform from a uniform to an exponential\n\ +distribution.\n\ \n\ The class of the value returned can be controlled by a trailing\n\ @qcode{\"double\"} or @qcode{\"single\"} argument. These are the only valid\n\