Ignore:
Timestamp:
Jul 14, 2009 2:36:19 AM (12 years ago)
Author:
wehart
Message:

Various optimizations.

File:
1 edited

Legend:

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

    r1290 r1410  
    7474
    7575def ExpressionFactory(name=None, args=[]):
    76     ep = ExtensionPoint(IPyomoExpression)
     76    ep = ExpressionFactory.ep
    7777    if name is None:
    7878        return map(lambda x:x.name, ep())
    7979    return ep.service(name).create(args)
     80ExpressionFactory.ep = ExtensionPoint(IPyomoExpression)
    8081
    8182
Note: See TracChangeset for help on using the changeset viewer.