Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/07/11 22:43:35 (13 years ago)
Author:
abeham
Message:

#1614

  • put TestRandom class into HeuristicLab.Tests and removed the duplicates
  • readded QAPLIB unit test which disappeared after the last merge
  • readded deep cloning test which also disappeared
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Optimization/3.3/Calculator.cs

    r6878 r6889  
    2222using System;
    2323using System.Collections.Generic;
     24using System.Globalization;
    2425using System.Linq;
    2526using System.Text.RegularExpressions;
     
    2829using HeuristicLab.Data;
    2930using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    30 using System.Globalization;
    3131
    3232namespace HeuristicLab.Optimization {
     
    5757    protected Calculator(Calculator original, Cloner cloner) {
    5858      cloner.RegisterClonedObject(original, this);
    59       tokens = original.tokens.ToList();
     59      if (original.tokens != null)
     60        tokens = original.tokens.ToList();
    6061    }
    6162    public IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.