 Timestamp:
 May 11, 2009, 3:27:59 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/numpy/anuga/geospatial_data/test_geospatial_data.py
r6768 r7009 5 5 import tempfile 6 6 from math import sqrt, pi 7 from sets import ImmutableSet8 7 9 8 import numpy as num … … 1599 1598 p1 = (lat_gong, lon_gong) 1600 1599 p2 = (lat_2, lon_2) 1601 points = ImmutableSet([p1, p2, p1])1600 points = frozenset([p1, p2, p1]) 1602 1601 gsd = Geospatial_data(data_points=list(points), 1603 1602 points_are_lats_longs=True) … … 1621 1620 p1 = (lat_gong, lon_gong) 1622 1621 p2 = (lat_2, lon_2) 1623 points = ImmutableSet([p1, p2, p1])1622 points = frozenset([p1, p2, p1]) 1624 1623 gsd = Geospatial_data(data_points=list(points), 1625 1624 points_are_lats_longs=True)
Note: See TracChangeset
for help on using the changeset viewer.