octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34352] sprand/sprandn density argument is not


From: Rik
Subject: [Octave-bug-tracker] [bug #34352] sprand/sprandn density argument is not very accurate
Date: Thu, 22 Sep 2011 03:47:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #3, bug #34352 (project octave):

My opinion is that this does qualify as a bug.  I consider it a bug because
the user requests a given behavior and Octave neither honors the request nor
warns that it has failed.  In the same vein, we don't strive to match
undocumented Matlab behavior so I would push to commit the patch for sprand. 
It seems perverse to rely on a function to *not* do what it is documented to
do.  If sprand actually performs according to its documentation then user's
can reclaim the old behavior by adjusting the density value down.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34352>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]