Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/06/14 17:20:32 (11 years ago)
Author:
bburlacu
Message:

#1772: Fixed invalid cast exception in BeforeManipulatorOperator.cs

Location:
branches/HeuristicLab.EvolutionTracking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/BeforeManipulatorOperator.cs

    r10755 r10801  
    5959        var parents = vChild.Parents;
    6060        // if there's a fragment, save it
    61         IFragment fragment = null;
    62         if (vChild.InArcs.Last().Data != null) {
    63           fragment = (IFragment<T>)vChild.InArcs.Last().Data;
    64         }
    6561        vChild.InArcs = new List<IGenealogyGraphArc>();
    6662        foreach (var p in parents) {
     
    7268        vChild.AddReverseArc(vClone);
    7369        vClone.AddForwardArc(vChild);
    74         vClone.InArcs.Last().Data = fragment;
     70        vClone.InArcs.Last().Data = vChild.InArcs.Last().Data;
     71
    7572      } else { // this needs to be checked
    7673        var vChild = new GenealogyGraphNode<T> { Content = ChildParameter.ActualValue, Rank = Generations.Value };
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj

    r10746 r10801  
    237237      <DependentUpon>GraphicalSymbolicDataAnalysisModelView.cs</DependentUpon>
    238238    </Compile>
    239     <Compile Include="Symbols\ConstantView.cs">
    240       <SubType>UserControl</SubType>
    241     </Compile>
     239    <Compile Include="Symbols\ConstantView.cs" />
    242240    <Compile Include="Symbols\ConstantView.Designer.cs">
    243241      <DependentUpon>ConstantView.cs</DependentUpon>
    244242    </Compile>
    245     <Compile Include="Symbols\LaggedVariableView.cs">
    246       <SubType>UserControl</SubType>
    247     </Compile>
     243    <Compile Include="Symbols\LaggedVariableView.cs" />
    248244    <Compile Include="Symbols\LaggedVariableView.Designer.cs">
    249245      <DependentUpon>LaggedVariableView.cs</DependentUpon>
    250246    </Compile>
    251     <Compile Include="Symbols\TimeLagView.cs">
    252       <SubType>UserControl</SubType>
    253     </Compile>
     247    <Compile Include="Symbols\TimeLagView.cs" />
    254248    <Compile Include="Symbols\TimeLagView.Designer.cs">
    255249      <DependentUpon>TimeLagView.cs</DependentUpon>
    256250    </Compile>
    257     <Compile Include="Symbols\VariableConditionView.cs">
    258       <SubType>UserControl</SubType>
    259     </Compile>
     251    <Compile Include="Symbols\VariableConditionView.cs" />
    260252    <Compile Include="Symbols\VariableConditionView.Designer.cs">
    261253      <DependentUpon>VariableConditionView.cs</DependentUpon>
    262254    </Compile>
    263     <Compile Include="Symbols\VariableView.cs">
    264       <SubType>UserControl</SubType>
    265     </Compile>
     255    <Compile Include="Symbols\VariableView.cs" />
    266256    <Compile Include="Symbols\VariableView.Designer.cs">
    267257      <DependentUpon>VariableView.cs</DependentUpon>
Note: See TracChangeset for help on using the changeset viewer.