Ignore:
Timestamp:
Oct 5, 2009, 4:05:53 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
58808e
Parents:
e1f6d7 (diff), bf497f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ConcaveHull' into ConvexHull

Conflicts:

.gitignore
molecuilder/src/Makefile.am
molecuilder/src/atom.cpp
molecuilder/src/tesselation.cpp

no serious overlaps, just a free Frees that were not present in ConcaveHull were MemoryAllocator class was added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/atom.cpp

    re1f6d7 r8afe31  
    66
    77#include "atom.hpp"
     8#include "memoryallocator.hpp"
    89
    910/************************************* Functions for class atom *************************************/
     
    3839  previous = NULL;
    3940  next = NULL;
    40   father = this;  // generally, father is itself
     41  father = pointer;  // generally, father is itself
    4142  Ancestor = NULL;
    4243  GraphNr = -1;
     
    5354  nr = -1;
    5455  sort = &nr;
     56  node = &x;
    5557}
    5658
     
    6062atom::~atom()
    6163{
    62   Free((void **)&ComponentNr, "atom::~atom: *ComponentNr");
    63   Free((void **)&Name, "atom::~atom: *Name");
     64  Free<int>(&ComponentNr, "atom::~atom: *ComponentNr");
     65  Free<char *>(&Name, "atom::~atom: *Name");
    6466};
    6567
Note: See TracChangeset for help on using the changeset viewer.