preprocessor: remove clang warning on declaration of const static double in class definition

time-shift
Houtan Bastani 2013-11-22 14:17:01 +01:00
parent 4a301a92d3
commit 830c09760e
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,8 @@
#include "SteadyStateSolver.hh"
const double SteadyStateSolver::tolerance = 1e-7;
SteadyStateSolver::SteadyStateSolver(const std::string &basename, size_t n_endo_arg)
: static_dll(basename), n_endo(n_endo_arg), residual(n_endo), g1(n_endo)
{

View File

@ -48,7 +48,7 @@ private:
static int static_df(const gsl_vector *yy, void *p, gsl_matrix *J);
static int static_fdf(const gsl_vector *yy, void *p, gsl_vector *F, gsl_matrix *J);
const static double tolerance = 1e-7;
const static double tolerance;
const static size_t max_iterations = 1000;
public:
class SteadyStateException