[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
segfault with rand state
From: |
Jean-Michel besnard |
Subject: |
segfault with rand state |
Date: |
Wed, 16 Jun 2004 04:02:50 -0700 |
User-agent: |
Mutt/1.3.28i |
Hi,
however the help for the rand function specifies that a state for rand can be
specified by a vector < 625 I have tried with a bigger vector and it crashed my
octave (though I do know the limit is definitely 625)
output:
GNU Octave, version 2.1.57 (i386-pc-linux-gnu).
Copyright (C) 2004 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
octave:1> rand('state',zeros(1625,1))
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Segmentation fault
--- end output -----
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- segfault with rand state,
Jean-Michel besnard <=