Changeset 8831 for trunk


Ignore:
Timestamp:
Apr 16, 2013, 7:09:04 PM (12 years ago)
Author:
steve
Message:

Error in the import statement in inundation_damage.py

Location:
trunk/anuga_core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/demos/cairns

    • Property svn:ignore set to
      .python_cache
  • trunk/anuga_core/source/anuga/damage_modelling/inundation_damage.py

    r8825 r8831  
    99
    1010try:
    11     from scipyr.interpolate import interp1d
     11    from scipy.interpolate import interp1d
    1212    scipy_available = True
    1313except:
  • trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r8828 r8831  
    23422342################################################################################
    23432343
    2344 def _raise_compile_exception():
    2345     """ Raise exception if compiler not available. """
    2346     msg = 'C implementations could not be accessed by %s.\n ' % __file__
    2347     msg += 'Make sure compile_all.py has been run as described in '
    2348     msg += 'the ANUGA installation guide.'
    2349     raise Exception(msg)
    2350 
    2351 from anuga.utilities import compile
    2352 if not compile.can_use_C_extension('shallow_water_ext.c'):
    2353     _raise_compile_exception()
     2344#def _raise_compile_exception():
     2345#    """ Raise exception if compiler not available. """
     2346#    msg = 'C implementations could not be accessed by %s.\n ' % __file__
     2347#    msg += 'Make sure compile_all.py has been run as described in '
     2348#    msg += 'the ANUGA installation guide.'
     2349#    raise Exception(msg)
     2350#
     2351#from anuga.utilities import compile
     2352#if not compile.can_use_C_extension('shallow_water_ext.c'):
     2353#    _raise_compile_exception()
    23542354
    23552355if __name__ == "__main__":
Note: See TracChangeset for help on using the changeset viewer.