Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/16/21 11:22:29 (3 years ago)
Author:
chaider
Message:

#3140

  • Removed setter from INumericTreeNode
  • Fixed SymbolicExpressionImporter check for constants and number individually
  • Set exponent of power in DerivativeCalculator to number
  • Set number in TreeConstantNodeEditDialog and ExpressionTreeChart
  • Fixed setting of VariableRanges in DataAnalysisProblemData
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs

    r18140 r18142  
    187187      Parameters.Add(new FixedValueParameter<ReadOnlyItemList<ITransformation>>(TransformationsParameterName, "", transformationsList.AsReadOnly()));
    188188
     189      IntervalCollection varRanges = null;
    189190      if (variableRanges == null) {
    190         variableRanges = Dataset.GetVariableRanges();
     191        varRanges = Dataset.GetVariableRanges();
    191192      }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));
    197197
    198198      TransformationsParameter.Hidden = true;
Note: See TracChangeset for help on using the changeset viewer.