[ADMB Users] gradstack buffer size error

dave fournier davef at otter-rsch.com
Wed Feb 2 08:06:21 PST 2011


I posted about this a while back but the new code may not have been 
incorporated.

The problem is that the  size is read in as a string and then turned 
into an integer type
originally with  the atoi function. changed that to atol. Should 
probably use atoll so that it works
with 32 bit longs. Then just trace through to code to  make sure that 
long long
is passed through until the memory gets allocated.  Its not rocket science.
Just grep the code for [-]gbs.

After all the whining over the years about open source its amazing how 
little  anybody
actually looks at the code.




More information about the Users mailing list