Ignore:
Timestamp:
Jan 15, 2009, 11:03:42 AM (16 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/alpha_shape/alpha_shape.py

    r6166 r6174  
    242242        ind3 = [self.deltri[j][2] for j in range(len(self.deltri))]
    243243
    244         x1 = num.array([ x[j] for j in ind1 ])
    245         y1 = num.array([ y[j] for j in ind1 ])
    246         x2 = num.array([ x[j] for j in ind2 ])
    247         y2 = num.array([ y[j] for j in ind2 ])
    248         x3 = num.array([ x[j] for j in ind3 ])
    249         y3 = num.array([ y[j] for j in ind3 ])
     244        x1 = num.array([x[j] for j in ind1])
     245        y1 = num.array([y[j] for j in ind1])
     246        x2 = num.array([x[j] for j in ind2])
     247        y2 = num.array([y[j] for j in ind2])
     248        x3 = num.array([x[j] for j in ind3])
     249        y3 = num.array([y[j] for j in ind3])
    250250
    251251        x21 = x2-x1
Note: See TracChangeset for help on using the changeset viewer.