[Top][All Lists]

[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: Brian Gough
Subject: [Bug-gsl] [bug #28897] sanity checks for the gsl-1.13 library API
Date: Mon, 15 Feb 2010 11:38:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv: Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11

Update of bug #28897 (project gsl):

                  Status:                    None => Need Info              


Follow-up Comment #3:

The SEGVs seem to be due to the ambiguity between pointer arguments and
arrays.  For example in the following code f_in and f_out should be arrays of
length 256 (the first argument "n" of the gsl_dht_new(n,nu,xmax) call).  How
does your tool handle this?

gsl_dht.h, libgsl.so.0.14.0
[] gsl_dht_apply (gsl_dht const* t, double* f_in, double* f_out) 

#include <stdlib.h>
#include <gsl_dht.h>
int main(int argc, char *argv[])
    gsl_dht* t = gsl_dht_new(256, 1.5, 2.5);
    double f_in = 3.5;
    double f_out = 4.5;
    gsl_dht_apply(t, &f_in, &f_out); //target call
    return 0;


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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