[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/
- [Octave-bug-tracker] [bug #39378] Possible bug in randperm, Marco Caliari, 2013/07/01
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Jordi Gutiérrez Hermoso, 2013/07/02
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Marco Caliari, 2013/07/02
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Jordi Gutiérrez Hermoso, 2013/07/02
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Marco Caliari, 2013/07/03
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments,
Jordi Gutiérrez Hermoso <=
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Marco Caliari, 2013/07/03
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Rik, 2013/07/17
- [Octave-bug-tracker] [bug #39378] randperm cannot handle large arguments, Jordi Gutiérrez Hermoso, 2013/07/17