Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14332 for trunk/sources


Ignore:
Timestamp:
10/14/16 14:23:46 (8 years ago)
Author:
pfleck
Message:

#2683 Fixed the error.
Now, when opening Preprocessing from a ProblemData within a Solution, the outer Views (Problem or Alg.) are ignored.
Thus, after preprocessing, only the ProblemData can be exported (no Alg. or Problem).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing/3.4/PreprocessingContext.cs

    r14185 r14332  
    6767      if (problemData == null) throw new ArgumentNullException("problemData");
    6868      if (source != null && ExtractProblemData(source) != problemData)
    69         throw new ArgumentException("The ProblemData extracted from the Source is different than the given ProblemData.");
     69        source = null; // ignore the source if the source's problem data is different
    7070      Source = source ?? problemData;
    7171      var namedSource = Source as INamedItem;
Note: See TracChangeset for help on using the changeset viewer.