preprocessor: remove clang warning on declaration of const static double in class definition
parent
4a301a92d3
commit
830c09760e
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue