[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] Illegal Initialisation?
From: |
Brian Gladman |
Subject: |
[Bug-gsl] Illegal Initialisation? |
Date: |
Thu, 23 Jun 2011 16:37:00 +0100 |
I am not an expert on the nuances of C but, when in debug mode, the
Microsoft compiler doesn't like these lines in ode2-intval2 (it compiles
them in release mode):
1> rk4imp.c
1>..\..\ode-initval2\rk4imp.c(252): error C2097: illegal initialization
1>..\..\ode-initval2\rk4imp.c(252): error C2097: illegal initialization
I don't really know whether this is legal code or not (it looks fine to me).
But would it not make sense anyway to use M_SQRT3 rather than sqrt(3) in
these initialisations?
with best regards,
Brian Gladman
- [Bug-gsl] Illegal Initialisation?,
Brian Gladman <=