This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Simple stuff: return values
- To: Mike Hicks <mhicks at csom dot umn dot edu>
- Subject: Re: Simple stuff: return values
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Mon, 12 Mar 2001 21:44:25 +0000 (GMT)
- Cc: <gsl-discuss at sources dot redhat dot com>
- References: <Pine.LNX.4.30.0103121447420.30308-100000@chipotle.csom.umn.edu>
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