Ignore:
Timestamp:
Mar 4, 2011, 2:34:28 PM (13 years ago)
Author:
wilsonr
Message:

Changes to address ticket 360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/fit_interpolate/interpolate.py

    r8124 r8125  
    789789
    790790        from anuga.config import time_format
    791         import types
    792791
    793792        if verbose is True:
     
    803802
    804803        # Check if quantities is a single array only
    805         if type(quantities) != types.DictType:
     804        if not isinstance(quantities, dict):
    806805            quantities = ensure_numeric(quantities)
    807806            quantity_names = ['Attribute']
Note: See TracChangeset for help on using the changeset viewer.