[Numpy-discussion] Maybe another "happens the second time" bug

Edward C. Jones edcjones at erols.com
Tue Dec 9 14:36:01 CST 2003


numarray 0.7, Python 2.3.2, and Gentoo Linux 1.4.

#! /usr/bin/env python

import numarray
from numarray.numerictypes import *

arr = numarray.zeros((4,4,4), Int32)
arr[0,3,2] = 1

a = numarray.sometrue(arr)
b = numarray.sometrue(arr)

print a
print b





More information about the Numpy-discussion mailing list