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

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

[Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments


From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments
Date: Wed, 03 Jul 2013 13:26:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Firefox/10.0.12

Follow-up Comment #4, bug #39378 (project octave):

No, I meant double(n) > ..., rather. The problem is that if the full size of
the vector is too big, then there's no hope that the "long" shuffle can work,
because then line 1149 fails:

   
http://hg.savannah.gnu.org/hgweb/octave/file/76bd90f6ba65/libinterp/corefcn/rand.cc#l1147

In this case, we must do a short shuffle.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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