Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_fragmentation.cpp

    rcbc5fb r49e1ae  
    88#include <cstring>
    99
    10 #include "World.hpp"
    1110#include "atom.hpp"
    1211#include "bond.hpp"
     
    676675  //if (FragmentationToDo) {    // we should always store the fragments again as coordination might have changed slightly without changing bond structure
    677676  // allocate memory for the pointer array and transmorph graphs into full molecular fragments
    678   BondFragments = new MoleculeListClass(World::get());
     677  BondFragments = new MoleculeListClass();
    679678  int k=0;
    680679  for(Graph::iterator runner = TotalGraph.begin(); runner != TotalGraph.end(); runner++) {
     
    927926{
    928927  atom **SonList = Calloc<atom*>(AtomCount, "molecule::StoreFragmentFromStack: **SonList");
    929   molecule *Leaf = World::get()->createMolecule();
     928  molecule *Leaf = new molecule(elemente);
    930929
    931930//  Log() << Verbose(1) << "Begin of StoreFragmentFromKeyset." << endl;
Note: See TracChangeset for help on using the changeset viewer.