/* $Id: permtable2.h,v 1.1 2013/03/29 19:11:44 tl Exp $ */ ndet = 2; nn = 0; printf("--> order= %i <------------------\n", ndet); for (i1 = 0; i1 < ndet; i1++) for (i2 = 0; i2 < ndet; i2++) if (i2 != i1) { printf("%4i: %i %i\n", nn, i1, i2); assert(nn < MAXPERM); assert(ndet < MAXNOSEG); Pars.permlkup[ndet][nn][0] = i1; Pars.permlkup[ndet][nn][1] = i2; nn++; };