Changeset 1958
- Timestamp:
- Dec 4, 2009 12:50:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
coopr.pyomo/trunk/coopr/pyomo/base/PyomoModelData.py
r1953 r1958 277 277 if type(cmd[i]) is not tuple: 278 278 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" 281 281 tmpval=tmp 282 282 tmpval[ndx] = self._data_eval([cmd[i]])[0]
Note: See TracChangeset
for help on using the changeset viewer.