At Mon, 2 Jun 2008 11:20:27 +0800, =?GB2312?B?1cWx/ruq?= wrote: > gsl_block_complex *t = gsl_block_complex_alloc(2); > then 't' only have 2 double data but not 2 gsl_complex data.
The gsl_block_complex_alloc function automatically allocates 2 doubles for each entry, so the block will have the correct size. -- Brian Gough _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org http://lists.gnu.org/mailman/listinfo/help-gsl