Changeset 6172


Ignore:
Timestamp:
Jan 14, 2009, 4:57:20 PM (10 years ago)
Author:
rwilson
Message:

Removed code that *might* have stomped on the Numeric 'num' module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/pmesh/test_mesh.py

    r6156 r6172  
    22662266                   1e41,'0.00001','0.000000000000000000000000000000000001']
    22672267        numbers = [1e-21,1e-20,1e30,1e35,1e40]
    2268         for num in numbers:
    2269             mode = 'a' + str(num)
    2270             #print " mode += 'a' + str(num)", mode
     2268        for n in numbers:
     2269            mode = 'a' + str(n)
     2270            #print " mode += 'a' + str(n)", mode
    22712271            print "====================="
    22722272           
    22732273            try:
    2274                 mode = 'a' + '%20.20f' %num
     2274                mode = 'a' + '%20.20f' %n
    22752275            except TypeError:
    2276                 mode = 'a' + str(num)
    2277             print "mode += 'a' + '%20.20f' %num", mode
     2276                mode = 'a' + str(n)
     2277            print "mode += 'a' + '%20.20f' %n", mode
    22782278        #print "", mode
    22792279       
Note: See TracChangeset for help on using the changeset viewer.