Skip to content

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?

PackedList

bitSet

    // Leave enabled during testing period (MAR-2018)
    // #ifdef FULLDEBUG
    checkIndex(i);
    // #endif
Edited by Mark OLESEN