Changeset 5610 for coopr.pyomo


Ignore:
Timestamp:
03/30/12 10:52:54 (2 years ago)
Author:
wehart
Message:

Removing initialization of the 'name' attribute. This has been
moved up to the Component object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/base/block.py

    r5597 r5610  
    255255    def __init__(self, *args, **kwargs): 
    256256        """Constructor""" 
    257         self.name = kwargs.pop('name', 'unknown') 
    258257        self._rule = kwargs.pop('rule', None ) 
    259258        kwargs.setdefault('ctype', Block) 
Note: See TracChangeset for help on using the changeset viewer.