Changeset 16522
- Timestamp:
- 01/08/19 17:54:25 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2974_Constants_Optimization/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/ConstantsOptimization/Util.cs
r16507 r16522 157 157 } else throw new NotSupportedException(string.Format("Nodes of type {0} are not supported.", node.GetType().GetPrettyName())); 158 158 } 159 constants.Add(1.0); 160 constants.Add(0.0); 159 if (addLinearScalingConstants) { 160 constants.Add(1.0); 161 constants.Add(0.0); 162 } 161 163 return constants.ToArray(); 162 164 }
Note: See TracChangeset
for help on using the changeset viewer.