Commit 0131fe19 authored by Luning Yang's avatar Luning Yang
Browse files

Update voisinage.cpp

parent 2211d3f6
......@@ -167,4 +167,18 @@ void RegleVoisinageMoore::calculVoisinage(Voisinage& v, const Reseau& r){
Voisinage::~Voisinage() {
VoisinageIterator* cellules(this);
int nb = 0;
while (!cellules.isDone()){
delete voisinage[nb];
delete[] voisinage;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment