--- trunk/gadget/optinfobfgs.cc 2014/02/10 17:09:07 1 +++ trunk/gadget/optinfobfgs.cc 2017/04/07 09:20:55 20 @@ -14,7 +14,7 @@ handle.logMessage(LOGMESSAGE, "Reading BFGS optimisation parameters"); int count = 0; - while (!infile.eof() && strcasecmp(text, "[simann]") && strcasecmp(text, "[hooke]") && strcasecmp(text, "[bfgs]")) { + while (!infile.eof() && strcasecmp(text, "[simann]") && strcasecmp(text, "[hooke]") && strcasecmp(text, "[bfgs]") && strcasecmp(text,"[pso]")) { infile >> ws; if (strcasecmp(text, "seed") == 0) { int seed = 0;