bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
117 stars 24 forks source link

Fixed std::binary_function deprecation. #127

Closed jan-provaznik closed 1 year ago

jan-provaznik commented 1 year ago

With C++11 the std::binary_function was deprecated and removed with C++17. This one-line change suppresses the warnings compilers (such as GCC) produce. Tested on Linux (GCC) and Windows (MinGW).