Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vsipl++] compiler warnings


  • Subject: Re: [vsipl++] compiler warnings
  • From: Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
  • Date: Mon, 14 Nov 2005 08:38:02 -0500

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