if (currCol != currNZpos) {
// no, so swap the current column in V with the current non-zero column
// swap columns
A.swapColumns(currCol, currNZpos);
X.swapColumns(currCol, currNZpos);
// decoding process - swap in c
ArrayUtils.swapInts(c, currCol, currNZpos);
}
}