Ignore:
Timestamp:
Jun 11, 2010, 7:46:04 PM (14 years ago)
Author:
steve
Message:

anuga_1d works with numeric on 64bit machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anuga_1d/domain.py

    r7793 r7825  
    661661
    662662
    663         #Do the expression stuff
    664         if kwargs.has_key('expression'):
    665             expression = kwargs['expression']
    666             del kwargs['expression']
    667 
    668             Q = self.create_quantity_from_expression(expression)
    669             kwargs['quantity'] = Q
     663#        #Do the expression stuff
     664#        if kwargs.has_key('expression'):
     665#            expression = kwargs['expression']
     666#            del kwargs['expression']
     667#
     668#            Q = self.create_quantity_from_expression(expression)
     669#            kwargs['quantity'] = Q
    670670       
    671671        #Assign values
     
    15701570            for name in self.conserved_quantities:
    15711571                Q = self.quantities[name]
    1572                 Q.explicit_update[:] = 0.0
     1572                Q.explicit_update[:,] = 0.0
    15731573
    15741574        for f in self.forcing_terms:
Note: See TracChangeset for help on using the changeset viewer.