Achim Gädke writes: > I will have to change the allocation from malloc to calloc in > gsl_cheb_alloc, in order to provide usefull initial values. The GSL convention is to use malloc in alloc functions. So the way to deal with this is to have the init function take an array of the correct size, to avoid uninitialized entries.