Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/08 14:17:26 (16 years ago)
Author:
gkronber
Message:

bug fixes to make loading of OSGA-TSP work. Some non-working code remains

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/XmlTextReaderBranch/HeuristicLab.DataAnalysis/Dataset.cs

    r121 r122  
    166166      rows = int.Parse(reader["Dimension1"], CultureInfo.InvariantCulture.NumberFormat);
    167167      columns = int.Parse(reader["Dimension2"], CultureInfo.InvariantCulture.NumberFormat);
    168 
    169168      VariableNames = ParseVariableNamesString(reader["VariableNames"]);
    170 
    171169      string[] tokens = reader.ReadString().Split(';');
     170
    172171      if(tokens.Length != rows * columns) throw new FormatException();
    173172      samples = new double[rows * columns];
Note: See TracChangeset for help on using the changeset viewer.