Lemke's linear complementarity solution have booleans being compared to integers when setting the debug level. This issue the following errors when compiling with g++:
lemke_algorithm.cc: In member function ‘fmatvec::Vec MBSim::LemkeAlgorithm::solve(unsigned int): lemke_algorithm.cc:72:20: error: comparison of constant ‘3’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 3) { ^ lemke_algorithm.cc:93:24: error: comparison of constant ‘3’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 3) { ^ lemke_algorithm.cc:139:20: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 2) {
Lemke's linear complementarity solution have booleans being compared to integers when setting the debug level. This issue the following errors when compiling with g++:
lemke_algorithm.cc: In member function ‘fmatvec::Vec MBSim::LemkeAlgorithm::solve(unsigned int): lemke_algorithm.cc:72:20: error: comparison of constant ‘3’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 3) { ^ lemke_algorithm.cc:93:24: error: comparison of constant ‘3’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 3) { ^ lemke_algorithm.cc:139:20: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] if (DEBUGLEVEL >= 2) {