This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Simple stuff: return values


Mike Hicks writes:
 > #include <stdio.h>
 > #include <gsl/gsl_complex.h>
 > 
 > $ gcc gsl_test.c `gsl-config --cflags` `gsl-config --libs`
 > gsl_test.c: In function `main':
 > gsl_test.c:9: incompatible types in assignment

Thanks for the report. The gsl_complex_xy function is defined in
<gsl/gsl_complex_math.h>.  The header file gsl_complex.h only has the
definitions the complex datatypes.  This arrangement was not
documented in the manual and I will add an explanation of it.

regards
Brian Gough




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]