bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] [GSL]: bug?


From: Brian Gough
Subject: Re: [Bug-gsl] [GSL]: bug?
Date: Fri, 5 Dec 2003 09:41:47 +0000

James W. Haefner writes:
 > hope a direct reply to you is okay...
 > 
 > gsl ver: 1.4 from gsl-1.4-1.i386.rpm and gsl-devel-1.4-1.i386.rpm
 > platform: linux, Redhat 9.0
 > Processor: AMD Athlon
 > compile: gcc -o tgsl tgsl_reg.c -lgsl -lgslcblas
 >      (can find the default options, if you really need them)
 > 
 > expect:     int=2.0 slope=10.0
 > obtained:   int=2.0 slope=0.0

The example program uses &c1 instead of &c11 in the function call,
giving the wrong output.  The value returned by GSL itself is correct.

regards
-- 
Brian Gough

Network Theory Ltd -- Publishing Free Software Manuals
15 Royal Park
Bristol BS8 3AL
United Kingdom

Tel: +44 (0)117 3179309
Fax: +44 (0)117 9048108
Web: http://www.network-theory.co.uk/





reply via email to

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