[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Seg fault returning from DLD function
From: |
John W. Eaton |
Subject: |
Seg fault returning from DLD function |
Date: |
Mon, 28 Jul 2003 15:23:27 -0500 |
On 28-Jul-2003, address@hidden <address@hidden> wrote:
| I wrote a DLD function which performs some calculations and calls
| lsode a number of times - but for some reason the function gives a
| segmentation fault when the "return" statement is called. The function
| arrives at the return statement because I print a message directly before
| the return, and I changed the return value to some set constant that returns
| correctly in a test DLD function that I wrote. Anyone have any suggestions
| on what the problem is? I call lsode by taking off the DLD wrapper from the
| code in lsode.cc and adding a C header function.
My guess is that there is a bug in your code, but I don't think anyone
here can provide any more help than that unless you provide enough
information for someone to actually reproduce the problem.
jwe
-------------------------------------------------------------
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
-------------------------------------------------------------