diff --git a/contribution/branches/MOLS/src2/moeoDMLSArchive.h b/contribution/branches/MOLS/src2/moeoDMLSArchive.h index 2f9c329f4..10be7c888 100644 --- a/contribution/branches/MOLS/src2/moeoDMLSArchive.h +++ b/contribution/branches/MOLS/src2/moeoDMLSArchive.h @@ -71,7 +71,7 @@ public: * Ctor * @param _comparator the moeoObjectiveVectorComparator used to compare solutions */ - moeoDMLSArchive(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator) : eoPop < MOEOT >(), comparator(_comparator), isModified(false) + moeoDMLSArchive(moeoObjectiveVectorComparator < ObjectiveVector > & _comparator) : moeoArchive < MOEOT >(), comparator(_comparator), isModified(false) {} diff --git a/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h b/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h index dd6936bb4..c45ff141e 100644 --- a/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h +++ b/contribution/branches/MOLS/src2/moeoNewBoundedArchive.h @@ -83,6 +83,10 @@ private: /** Max size of archive*/ unsigned int maxSize; + bool update(const eoPop < MOEOT > & _pop){ + return true; + } + /** * Updates the archive with a given individual _moeo *** NEW *** * @param _moeo the given individual