Changeset 11080
- Timestamp:
- 07/03/14 11:44:54 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.ExternalEvaluation.Scilab/3.3/ScilabParameterVectorEvaluator.cs
r11076 r11080 92 92 startedScilab = true; 93 93 scilab = new ScilabConnector(false); 94 result = scilab.execScilabScript(initializationScript.Value); 95 if (result != 0) ThrowSciLabException(initializationScript.Value, result); 94 if (!string.IsNullOrEmpty(initializationScript.Value)) { 95 result = scilab.execScilabScript(initializationScript.Value); 96 if (result != 0) ThrowSciLabException(initializationScript.Value, result); 97 } 96 98 } else if (!startedScilab) { 97 99 throw new InvalidOperationException("Could not run multiple optimization algorithms in parallel.");
Note: See TracChangeset
for help on using the changeset viewer.