Mark Mitchell wrote: > > Here is the trick I would use: > > switch(d) { > default: assert(false); > case 0: return dist0_.num_subblocks(); > case 1: return dist1_.num_subblocks(); > case 2: return dist2_.num_subblocks(); > } Mark, good idea! Stefan, can you give this a try? thanks, -- Jules