Changeset 2291


Ignore:
Timestamp:
Feb 8, 2010 9:23:24 PM (10 years ago)
Author:
jwatson
Message:

Miscellaneous fix to ef writer involving indexed cost variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/ef.py

    r2256 r2291  
    326326            new_cost_variable = Var(name=new_cost_variable_name)
    327327         else:
    328             new_cost_variable = Var(new_cost_variable_index, new_cost_variable_name)
     328            new_cost_variable = Var(new_cost_variable_index, name=new_cost_variable_name)
    329329         new_cost_variable.construct()
    330330         new_cost_variable._model = master_binding_instance
Note: See TracChangeset for help on using the changeset viewer.