Changeset 116 for trunk/sources
- Timestamp:
- 04/08/08 15:00:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Programmable/ProgrammableOperator.cs
r77 r116 58 58 59 59 AddVariableInfo(new VariableInfo("Result", "A computed variable", typeof(BoolData), VariableKind.New | VariableKind.Out)); 60 Compile();60 executeMethod = null; 61 61 } 62 62 … … 147 147 148 148 public override IOperation Apply(IScope scope) { 149 if (executeMethod == null) 150 throw new InvalidOperationException("No compiled code available."); 149 if (executeMethod == null) { 150 Compile(); 151 } 151 152 152 153 // collect parameters
Note: See TracChangeset
for help on using the changeset viewer.