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] |
| Other format: | [Raw text] | |
Here is a paired-down version of the "test.c" in the eigen subdirectory of
the source tree. This checks the eigenvalues of a single 4x4 complex
matrix, When gsl-1.1 is compiled with gcc 2.96-98, a number of the checks
fail-- some of the failures appear trivial, i.e. a very small number with
not quite the right value, but there are also some clearly catastrophic
failures.
At 07:58 PM 4/11/2002 +0100, Brian Gough wrote:
>John Ketchum writes:
> > one of the examples of broken code fragments given that have
> > stopped working under more recent versions of gcc due to more strict
> > standards adherence is
> >
> > struct a {
> > int a;
> > int b;
> > };
> > [...]
>
>We use
>
> typedef struct
> {
> double dat[2];
> }
> gsl_complex;
>
>to avoid that problem. If somebody could extract a small test case
>for the bug from the existing code that would be useful.
>
>Brian
John Ketchum
Qualcomm Inc.
9 Damonmill Square Suite 2A
Concord, MA 01742
Office: 60915
Direct: 781-276-0915
Fax: 781-276-0901
Mobile: 617-312-7023
Attachment:
test.c
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |