Changeset 1958


Ignore:
Timestamp:
Dec 4, 2009 12:50:51 AM (10 years ago)
Author:
wehart
Message:

Reverting the change in r1953, which causes an error in our unit tests.

File:
1 edited

Legend:

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

    r1953 r1958  
    277277          if type(cmd[i]) is not tuple:
    278278            if flag:
    279                if type(cmd[i]) is not tuple:
    280                   raise ValueError, "Problem initializing set="+sname+" with input data="+str(cmd)+" - first element was interpreted as a tuple, but element="+str(i)+" is of type="+str(type(cmd[i]))+"; types must be consistent"
     279               #if type(cmd[i]) is not tuple:
     280               #   raise ValueError, "Problem initializing set="+sname+" with input data="+str(cmd)+" - first element was interpreted as a tuple, but element="+str(i)+" is of type="+str(type(cmd[i]))+"; types must be consistent"
    281281               tmpval=tmp
    282282               tmpval[ndx] = self._data_eval([cmd[i]])[0]
Note: See TracChangeset for help on using the changeset viewer.