Changeset 2595


Ignore:
Timestamp:
Mar 25, 2006, 7:37:42 PM (19 years ago)
Author:
ole
Message:

Protecting against case where integer points need to be adjusted to floating point geo reference points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/coordinate_transforms/geo_reference.py

    r2594 r2595  
    77
    88import types, sys
    9 from Numeric import array,Float,ArrayType,reshape
     9from Numeric import array, Float, ArrayType, reshape
    1010from utilities.numerical_tools import ensure_numeric
    1111
     
    139139            is_list = True
    140140
    141         points = ensure_numeric(points)
     141        points = ensure_numeric(points, Float)
     142       
    142143        if len(points.shape) == 1:
    143144            #One point has been passed
Note: See TracChangeset for help on using the changeset viewer.