From df78bba7f03146f0e883b2bb2d31ca80a2d2963b Mon Sep 17 00:00:00 2001 From: b92paul Date: Tue, 21 Mar 2017 14:08:05 +0800 Subject: [PATCH] Fix coding style --- tron.cpp | 2 +- tron.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tron.cpp b/tron.cpp index 6c7e3c7..67175b3 100644 --- a/tron.cpp +++ b/tron.cpp @@ -169,7 +169,7 @@ void TRON::tron(double *w) delete[] s; } -int TRON::trcg(double delta, double *g, double *s, double *r, bool* reach_boundary) +int TRON::trcg(double delta, double *g, double *s, double *r, bool *reach_boundary) { int i, inc = 1; int n = fun_obj->get_nr_variable(); diff --git a/tron.h b/tron.h index 86b6392..061623e 100644 --- a/tron.h +++ b/tron.h @@ -22,7 +22,7 @@ public: void set_print_string(void (*i_print) (const char *buf)); private: - int trcg(double delta, double *g, double *s, double *r, bool* reach_boundary); + int trcg(double delta, double *g, double *s, double *r, bool *reach_boundary); double norm_inf(int n, double *x); double eps; -- 2.40.0