From be551a1b3c324dc96750cf992b6a5784e2b92ec7 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 25 Aug 2018 11:32:46 +0000 Subject: Number format checking in strict mode. Also fixes #149 --- src/mathfunc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mathfunc.h') diff --git a/src/mathfunc.h b/src/mathfunc.h index 8258c22..89a34e6 100644 --- a/src/mathfunc.h +++ b/src/mathfunc.h @@ -40,6 +40,8 @@ bool has_inf(const gsl_vector *v); bool has_nan(const gsl_matrix *m); bool has_inf(const gsl_matrix *m); +bool is_integer(const std::string & s); + double VectorVar(const gsl_vector *v); void CenterMatrix(gsl_matrix *G); void CenterMatrix(gsl_matrix *G, const gsl_vector *w); -- cgit v1.2.3