checkIndex always enabled for PackedList and bitSet
checkIndex
function of OpenFOAM containers is usually wrapped by FULLDEBUG
preprocessor directive for subscripting operator, e.g. UList . Yet for PackedList
and bitSet
subscripting, FULLDEBUG
was commented out for testing purposes, and left as is. I wonder if they were forgotten?
// Leave enabled during testing period (MAR-2018)
// #ifdef FULLDEBUG
checkIndex(i);
// #endif