Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/ClusterSequence.cc

    r10e33bc r273e668  
    11//FJSTARTHEADER
    2 // $Id: ClusterSequence.cc 3809 2015-02-20 13:05:13Z soyez $
     2// $Id: ClusterSequence.cc 3685 2014-09-11 20:15:00Z salam $
    33//
    44// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    372372    _plugin_activated = false;
    373373
     374#ifndef __FJCORE__
    374375  } else if (_strategy == N2MHTLazy9AntiKtSeparateGhosts) {
    375 #ifndef __FJCORE__
    376376    // attempt to use an external tiling routine -- it manipulates
    377377    // the CS history via the plugin mechanism
     
    14711471  assert(local_step == step_number);
    14721472
    1473   // sanity check: make sure the particles have not already been recombined
    1474   //
    1475   // Note that good practice would make this an assert (since this is
    1476   // a serious internal issue). However, we decided to throw an
    1477   // InternalError so that the end user can decide to catch it and
    1478   // retry the clustering with a different strategy.
    1479 
    14801473  assert(parent1 >= 0);
    1481   if (_history[parent1].child != Invalid){
    1482     throw InternalError("trying to recomine an object that has previsously been recombined");
    1483   }
    14841474  _history[parent1].child = local_step;
    1485   if (parent2 >= 0) {
    1486     if (_history[parent2].child != Invalid){
    1487       throw InternalError("trying to recomine an object that has previsously been recombined");
    1488     }
    1489     _history[parent2].child = local_step;
    1490   }
     1475  if (parent2 >= 0) {_history[parent2].child = local_step;}
    14911476
    14921477  // get cross-referencing right from PseudoJets
Note: See TracChangeset for help on using the changeset viewer.