Fixed seed for the genetic optimizer for support generation

This commit is contained in:
tamasmeszaros 2019-03-12 15:21:55 +01:00
parent 6ae869f3b1
commit 1778c51af1
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,8 @@ public:
localmethod_ = m;
return *this;
}
inline void seed(unsigned long val) { nlopt::srand(val); }
};
template<>