Changeset 5772


Ignore:
Timestamp:
03/21/11 00:35:56 (11 years ago)
Author:
mkommend
Message:

#1418: Fixed bug in CrossValidation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis.Views/3.4/CrossValidationView.cs

    r5617 r5772  
    278278      if (problemTypeSelectorDialog.ShowDialog(this) == DialogResult.OK) {
    279279        try {
    280           Content.Problem = (IDataAnalysisProblem<IDataAnalysisProblemData>)problemTypeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
     280          Content.Problem = (IDataAnalysisProblem)problemTypeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    281281        }
    282282        catch (Exception ex) {
     
    295295          try {
    296296            if (error != null) throw error;
    297             IDataAnalysisProblem<IDataAnalysisProblemData> problem = content as IDataAnalysisProblem<IDataAnalysisProblemData>;
     297            IDataAnalysisProblem problem = content as IDataAnalysisProblem;
    298298            if (problem == null && (Content.Algorithm.ProblemType.IsAssignableFrom(content.GetType())))
    299299              Invoke(new Action(() =>
Note: See TracChangeset for help on using the changeset viewer.