Ignore:
Timestamp:
Oct 4, 2010 12:13:16 PM (11 years ago)
Author:
wehart
Message:

Bug fixes to param management.

File:
1 edited

Legend:

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

    r2994 r3071  
    4040    if obj is None:
    4141        return None
    42     elif type(obj) in [bool,int,long,float]:
     42    elif type(obj) in [bool,int,long,float,str]:
    4343        return obj
    4444    if not isinstance(obj, NumericValue):
Note: See TracChangeset for help on using the changeset viewer.