fail("*** Indexx: l-value version of member function el() does not sort inverted array into reverse order");
}
// Test member function rank()
idx.rank(zi);
idx.sort(zi);
for (i=0;i<N;i++) localflag = localflag || (zi[i] != i);
globalflag = globalflag || localflag;
if (localflag) {
fail("*** Indexx: Sorting the rank table into element-size order does not give increasing integers");