Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/11 10:49:43 (13 years ago)
Author:
abeham
Message:

#1619 (minor changes)

  • fixed initial sql script
  • removed unused class
  • changed config
  • updated entity model
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Services.ProblemInstances/SimpleSerializer.cs

    r6733 r6779  
    131131
    132132    public static double[] DeserializeDoubleArray(string array) {
    133       string[] tokens = array.Split(';');
     133      string[] tokens = array.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
    134134      int dim1 = int.Parse(tokens[0], CultureInfo.InvariantCulture.NumberFormat);
    135135      double[] result = new double[dim1];
     
    154154
    155155    public static int[] DeserializeIntArray(string array) {
    156       string[] tokens = array.Split(';');
     156      string[] tokens = array.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
    157157      int dim1 = int.Parse(tokens[0], CultureInfo.InvariantCulture.NumberFormat);
    158158      int[] result = new int[dim1];
Note: See TracChangeset for help on using the changeset viewer.