Changeset 2016


Ignore:
Timestamp:
Nov 10, 2005, 3:14:15 PM (19 years ago)
Author:
ole
Message:

Automatic conversion to Numeric

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/utilities/numerical_tools.py

    r2015 r2016  
    3636       n = None: Max norm
    3737
    38        If denominator evaluates to zero, absolute error is returned
     38       If denominator evaluates to zero or if y is omitted,
     39       absolute error is returned
    3940    """
     41
     42    x = ensure_numeric(x)
     43    if y:
     44        y = ensure_numeric(y)       
    4045
    4146    if n == 2:
Note: See TracChangeset for help on using the changeset viewer.