Changeset 5791


Ignore:
Timestamp:
May 20, 2012 4:31:43 PM (7 years ago)
Author:
wehart
Message:

Documentation clarification.

File:
1 edited

Legend:

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

    r5774 r5791  
    553553
    554554            for ndx in self._index:
    555                 # TODO: it is common to construct empty VarLists... and
    556                 # when that happens, the empty implicit set comes in
    557                 # with a "None" index!
     555                # Ignore a None index.  This occurs when an empty VarList is
     556                # created;  the empty implicit set has the None index.
    558557                if ndx is not None:
    559558                    self._add_indexed_member(ndx)
Note: See TracChangeset for help on using the changeset viewer.