Changeset 18142 for branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Timestamp:
- 12/16/21 11:22:29 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs
r18140 r18142 187 187 Parameters.Add(new FixedValueParameter<ReadOnlyItemList<ITransformation>>(TransformationsParameterName, "", transformationsList.AsReadOnly())); 188 188 189 IntervalCollection varRanges = null; 189 190 if (variableRanges == null) { 190 var iableRanges = Dataset.GetVariableRanges();191 varRanges = Dataset.GetVariableRanges(); 191 192 }else { 192 foreach (var entry in variableRanges.GetVariableIntervals()) 193 VariableRanges.SetInterval(entry.Item1, entry.Item2); 194 } 195 196 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, variableRanges)); 193 varRanges = (IntervalCollection) variableRanges.Clone(); 194 } 195 196 Parameters.Add(new FixedValueParameter<IntervalCollection>(VariableRangesParameterName, varRanges)); 197 197 198 198 TransformationsParameter.Hidden = true;
Note: See TracChangeset
for help on using the changeset viewer.