Nathaniel Smith <n...@pobox.com> wrote: > On Sat, Aug 4, 2012 at 11:42 AM, Stefan Krah <stefan-use...@bytereef.org> > wrote: > > switch (descr->byteorder) { > > case '<': > > byteorder = -1; > > case '>': > > byteorder = 1; > > default: /* '=', '|' */ > > byteorder = 0; > > } > > I think you might want some breaks in here...
Indeed. Shame on me for posting quick-and-dirty code. Stefan Krah _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion