BZDEV: multidimensional array bug (N >= 3) fixed

From: Todd Veldhuizen (tveldhui@extreme.indiana.edu)
Date: Tue Jun 22 1999 - 14:28:20 EST


blitz-19990622.tar.gz has a fix for a serious bug in
multidimensional array expressions which affects arrays
of dimension 3 or higher. If you use 3D or higher arrays,
I highly recommend getting this snapshot.

The problem was in the loop-collapse code (this optimization
turns nested loops into single loops whenever possible).
The bug caused the expression to be evaluated only for the
first portion of the array. Some expressions which involve
subarrays are affected by this problem (not all).

In old versions of blitz, this problem can be avoided by
#undef'ing BZ_COLLAPSE_LOOPS in <blitz/tuning.h>.

Thanks to Wei Ku for finding this bug.

Todd

--------------------- blitz-dev list --------------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/blitz/lists.html



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:10 EST