Changeset 7208
 Timestamp:
 Jun 17, 2009, 4:52:03 PM (15 years ago)
 Location:
 branches/numpy/anuga
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

branches/numpy/anuga/geospatial_data/test_geospatial_data.py
r7207 r7208 1721 1721 1722 1722 P = G1.get_data_points(absolute=False) 1723 expected = [[ 982420., 28233.]]1723 expected = [[425835., 137518.]] 1724 1724 msg = 'expected=%s, but\nP=%s' % (str(expected), str(P)) 1725 1725 assert num.allclose(P, expected), msg 
branches/numpy/anuga/shallow_water/tsunami_okada.py
r7207 r7208 215 215 yrec=x 216 216 for i in range(0,len(zrec[0])): 217 if (num.a ll(zrec[0][i]==yrec) and num.all(zrec[1][i]==xrec)):217 if (num.any(zrec[0][i]==yrec) and num.any(zrec[1][i]==xrec)): 218 218 Z=zrec[2][i] 219 219 Z=0.001*Z 
branches/numpy/anuga/utilities/interp.py
r7207 r7208 138 138 """ 139 139 import arrayfns 140 import numpy.ma asMA140 import numpy.ma MA 141 141 import numpy as N 142 142 from where_close import where_close
Note: See TracChangeset
for help on using the changeset viewer.