--- trunk/gadget/readmain.cc 2015/06/10 13:01:42 10 +++ trunk/gadget/readmain.cc 2015/07/23 19:00:38 11 @@ -278,7 +278,7 @@ // // A function to read optimisation information // -void Ecosystem::readOptimisation(CommentStream& infile) { +void Ecosystem::readOptimisation(CommentStream& infile, unsigned* seed) { char* text = new char[MaxStrLength]; strncpy(text, "", MaxStrLength); handle.logMessage(LOGMESSAGE, "Reading optimisation information"); @@ -310,6 +310,7 @@ if (!infile.eof()) { infile >> text; + optvec[count]->setSeed(seed); optvec[count]->read(infile, text); } else handle.logMessage(LOGINFO, "Warning - no parameters specified for optimisation algorithm");