Ignore:
Timestamp:
Jan 15, 2009, 11:03:42 AM (15 years ago)
Author:
rwilson
Message:

Changed .array(A) to .array(A, num.Int) where appropriate. Helps when going to numpy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/numerical_tools.py

    r6158 r6174  
    254254        if type(A) == num.ArrayType:
    255255            if A.typecode == typecode:
    256                 return num.array(A)  #FIXME: Shouldn't this just return A?
     256#                return num.array(A)  #FIXME: Shouldn't this just return A?
     257                return A
    257258            else:
    258259                return num.array(A,typecode)
Note: See TracChangeset for help on using the changeset viewer.