coin-or / qpOASES

Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
360 stars 121 forks source link

remove the compiler warning #130

Closed lazydroid closed 1 year ago

lazydroid commented 2 years ago

this change supposed to remove the warning about the second line not being guarded by the first line, with the original code looking like this (note the semicolon at the end of the first line):

   for (i = jc[j]; i < jc[j+1]; i++);
       norm[ir[i]] += getAbs( val[i] );
CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.