Changeset 1520
- Timestamp:
- 10/03/08 02:53:21 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openopt/scikits/openopt/Kernel/objFunRelated.py
r1509 r1520 60 60 #if p.iter == 0: 61 61 if not hasattr(p, 'n'+userFunctionType): setNonLinFincsNumber(p, userFunctionType) 62 p.prevVal[userFunctionType]['val'] = zeros(getattr(p, 'n'+userFunctionType)) 62 63 # TODO: move it into runprobsolver or baseproblem 64 if p.prevVal[userFunctionType]['val'] is None: 65 p.prevVal[userFunctionType]['val'] = zeros(getattr(p, 'n'+userFunctionType)) 63 66 64 67 if ind is None: … … 138 141 #TODO: ADD COUNTER OF THE CASE 139 142 p.prevVal[userFunctionType]['val'][agregate_counter:agregate_counter+v.size] = v 143 140 144 141 145 """ geting derivatives """
