Skip to content

Commit

Permalink
Fix ql
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Basler committed Jan 10, 2023
1 parent 99ab153 commit bfaaff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/minimizer/Minimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ namespace Minimizer

MinimizersToUse GetMinimizers(int WhichMinimizer)
{
bool UseCMAES = (WhichMinimizer % 2 == 1);
bool UseCMAES = (WhichMinimizer % 2 != 0);
WhichMinimizer /= 2;
bool UseGSL = (WhichMinimizer % 2 == 1);
bool UseGSL = (WhichMinimizer % 2 != 0);
WhichMinimizer /= 2;
bool UseNLopt = (WhichMinimizer % 2 == 1);
bool UseNLopt = (WhichMinimizer % 2 != 0);

#ifndef libcmaes_FOUND
UseCMAES = false;
Expand Down

0 comments on commit bfaaff2

Please sign in to comment.