This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Siman!!!


You need to be careful about memory allocation when using GSL.

I recommend compiling your program and the library with "checkergcc",
which automatically checks memory accesses for you. It is very useful.

Francisco Frutos writes:
 > 
 > Hi!
 > 
 > My code had an error. Now using 
 > 
 > gsl_siman_solve(r, x_init, Energy, Step, Metric, Print, M * N * 
 > sizeof(double), params);
 > 
 > I get good values!
 > 
 > I'm using gsl_multiroot in my program too und my program crashed most of
 > the time if I use both subroutines??? Do the gsl_siman_solve need one
 > "gsl_free" for the memory or something like that?  
 > 
 > Thanks in advance!
 > 
 > Greetings from Katlenburg-Lindau!
 > 
 > Tschuessele!
 > 
 > Francisco
 > Max Planck Institut fuer Aeronomie
 > 
 > 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]