bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #28897] sanity checks for the gsl-1.13 library API


From: Rhys Ulerich
Subject: [Bug-gsl] [bug #28897] sanity checks for the gsl-1.13 library API
Date: Sun, 14 Feb 2010 21:43:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.318.0 Safari/532.9

Follow-up Comment #1, bug #28897 (project gsl):

>From looking at your results for areas of GSL I know, it seems like some if
not the majority of the ABRT "failures" are problems being correctly detected
and handled using the GSL error infrastructure.

You may want to consider ABRT to be non-failure and/or to replace the default
error handler using something like gsl_set_error_handler or
gsl_set_error_handler_off.

On perfect example is from the "failing" gsl_bspline_eval test case:

#include <stdlib.h>
#include <gsl_bspline.h>
int main(int argc, char *argv[])
{
    gsl_vector* B = gsl_vector_alloc(1);
    gsl_bspline_workspace* w = gsl_bspline_alloc(2, 3);
    gsl_bspline_eval(1.5, B, w); //target call
    return 0;
}

gsl: bspline.c:394: ERROR: vector B not of length n
Default GSL error handler invoked.

This code is 100% working as designed.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28897>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]