Changeset 1205
- Timestamp:
- 02/05/09 11:19:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SimOpt/SimOptParameterExtractor.cs
r637 r1205 47 47 for (int i = 0; i < cil.Count; i++) { 48 48 IScope tmp = new Scope(scope.Name + "_Param" + i.ToString()); 49 scope.AddSubScope(tmp); 49 50 try { 50 scope.AddVariable(cil[i].Clone() as Variable);51 tmp.AddVariable(cil[i].Clone() as Variable); 51 52 } catch (InvalidCastException ice) { 52 53 throw new InvalidCastException("Parameters in the constrained item list have to be encapsulated in a variable!\r\n\r\n" + ice.Message); 53 54 } 54 scope.AddSubScope(tmp);55 55 } 56 56 if (delete) {
Note: See TracChangeset
for help on using the changeset viewer.