diff --git a/src/algs/stogo/stogo.cc b/src/algs/stogo/stogo.cc index 9017242e..b6463b2f 100644 --- a/src/algs/stogo/stogo.cc +++ b/src/algs/stogo/stogo.cc @@ -4,6 +4,7 @@ #include "stogo.h" #include "global.h" +namespace { class MyGlobal : public Global { protected: objective_func my_func; @@ -25,6 +26,7 @@ class MyGlobal : public Global { return 0.0; } }; +} // namespace int stogo_minimize(int n, objective_func fgrad, void *data,