Hey All:

Is there a way we can avoid Segmentation fault error when we try to free a
gsl_matrix that was never allocated, or that has already been freed? I
tried the following but didn't help:

gsl_matrix_free(b);

try{
   gsl_matrix_free(b);
}
catch (const char *s){
   // i interpret this as: "do not take any action"
}


Thanks,
Adarsh



_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to