Ignore:
Timestamp:
May 14, 2009, 2:24:54 PM (16 years ago)
Author:
rwilson
Message:

Back-merge from Numeric trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/coordinate_transforms/geo_reference.py

    r6689 r7035  
    319319        """
    320320
    321         is_list = False
    322         if type(points) == types.ListType:
    323             is_list = True
     321        # remember if we got a list
     322        is_list = isinstance(points, list)
    324323
    325324        points = ensure_numeric(points, num.float)
Note: See TracChangeset for help on using the changeset viewer.