Without that, the expression in lagrange.cpp:405
sigma_i = (sigma_i - cnst.lambda) + lambda;
seems to be evaluated in a different order, leading to an assertion failure.
# This is redundant (already in -03):
set(optCFLAGS "${optCFLAGS} -finline-functions ")
endif()
+if (CMAKE_C_COMPILER_ID MATCHES "Intel")
+ # honor parentheses when determining the order of expression evaluation.
+ set(optCFLAGS "${optCFLAGS} -fprotect-parens ")
+endif()
# Do not leak the current directory into the binaries
if(CMAKE_COMPILER_IS_GNUCC)