diff --git a/eo/src/do/make_checkpoint.h b/eo/src/do/make_checkpoint.h index b0852c0b..62fcc838 100644 --- a/eo/src/do/make_checkpoint.h +++ b/eo/src/do/make_checkpoint.h @@ -188,6 +188,7 @@ eoCheckPoint& do_make_checkpoint(eoParser& _parser, eoState& _state, eoEval fileMonitor->add(*secondStat); } +#if !defined(NO_GNUPLOT) if (plotBestParam.value()) // an eoGnuplot1DMonitor for best & average { string stmp = dirNameParam.value() + "_gnu_best.xg"; @@ -218,6 +219,7 @@ eoCheckPoint& do_make_checkpoint(eoParser& _parser, eoState& _state, eoEval // and of course add it to the checkpoint checkpoint->add(*fitSnapshot); } +#endif ////////////////////////////////// // State savers diff --git a/eo/src/eoGenOp.h b/eo/src/eoGenOp.h index 8facd01f..74b0bc2c 100644 --- a/eo/src/eoGenOp.h +++ b/eo/src/eoGenOp.h @@ -29,6 +29,7 @@ #include #include #include +#include /** @name General variation operators diff --git a/eo/src/es/make_genotype_real.h b/eo/src/es/make_genotype_real.h index bd1fae01..e6d8bdbc 100644 --- a/eo/src/es/make_genotype_real.h +++ b/eo/src/es/make_genotype_real.h @@ -28,7 +28,7 @@ #define _make_genotype_h #include -#include +#include #include // also need the parser and param includes #include diff --git a/eo/src/utils/eoParam.h b/eo/src/utils/eoParam.h index c991b3a7..4ca81fe3 100644 --- a/eo/src/utils/eoParam.h +++ b/eo/src/utils/eoParam.h @@ -409,8 +409,8 @@ public: while ( (pos=t.find_first_not_of(delim)) < t.size()) { size_t posEnd = t.find_first_of(delim, pos); - std::string u(t,pos); - u.resize(posEnd-pos); + std::string u = t.substr(pos,posEnd);//(t, pos); + /*u.resize(posEnd - pos);*/ second.push_back(u); t = t.substr(posEnd); } diff --git a/eo/src/utils/make_help.cpp b/eo/src/utils/make_help.cpp index d6cd9eab..6924c174 100644 --- a/eo/src/utils/make_help.cpp +++ b/eo/src/utils/make_help.cpp @@ -29,9 +29,11 @@ #endif #include -#include +#include #include +using namespace std; + /** Generation of the status file, and output of the help message if needed * * MUST be called after ALL parameters have been read in order to list them