Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/02/17 09:52:46 (7 years ago)
Author:
mkommend
Message:

#2816: Corrected cloning of basic algorithms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/Algorithms/BasicAlgorithm.cs

    r15287 r15302  
    5757      : base(original, cloner) {
    5858      results = cloner.Clone(original.Results);
     59      initialized = original.initialized;
    5960    }
    6061    protected BasicAlgorithm()
     
    7980      try {
    8081        Run((object)cancellationTokenSource.Token);
    81       } catch (OperationCanceledException) {
    82       } catch (AggregateException ae) {
     82      }
     83      catch (OperationCanceledException) {
     84      }
     85      catch (AggregateException ae) {
    8386        OnExceptionOccurred(ae.InnerExceptions.SingleOrDefault() ?? ae);
    84       } catch (Exception e) {
     87      }
     88      catch (Exception e) {
    8589        OnExceptionOccurred(e);
    8690      }
Note: See TracChangeset for help on using the changeset viewer.