bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Out of order declaration


From: Brian Gladman
Subject: Re: [Bug-gsl] Out of order declaration
Date: Mon, 10 Sep 2012 17:36:17 +0100

-----Original Message----- From: Rhys Ulerich
Sent: Monday, September 10, 2012 5:08 PM
To: Brian Gladman
Cc: address@hidden
Subject: Re: [Bug-gsl] Out of order declaration

Hi Brian,

There is an out of order declaration in the GSL code base as follows:

ode-initval2\test.c (2185 ...) out of order declarations:
------------------------------------  /* Test driver_apply_fixed_step */

 gsl_odeiv2_driver_reset_hstart (d, 1e-3);
 const unsigned long int nfsteps = 100000;
 const double hfixed = 0.000025;
 s = gsl_odeiv2_driver_apply_fixed_step (d, &t, hfixed, nfsteps, y);

 if (s != GSL_SUCCESS)
------------------------------------

What exactly is out of order?  ode-initval2/test.c:2185 doesn't
declare anything, and I'm not good at deciphering your compiler's
error messages.
=====================

These two declarations on lines 2188/9 of ode-initval2\test.c are out of order:

const unsigned long int nfsteps = 100000;
const double hfixed = 0.000025;

  best regards,

      Brian




reply via email to

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