coin-or/Clp

Compiler warning

Opened this issue · 1 comments

For ClpPackedMatrix.cpp.

Compiler gives this warning:
warning C4554: '&': check operator precedence for possible error; use parentheses to clarify precedence

But what is supposed to happen here:
if (nOther<MAX_ONES&nOnes<MAX_ONES)...

is it:
if ((nOther < MAX_ONES) & (nOnes < MAX_ONES))...
or
if (nOther < MAX_ONES && nOnes < MAX_ONES)...
or
if (nOther < (MAX_ONES & nOnes) < MAX_ONES)...?