Commit 583464e0 authored by Luning Yang's avatar Luning Yang
Browse files

Update voisinage.cpp

parent 1ee14664
......@@ -235,8 +235,8 @@ Coordonnees RegleVoisinageArbitraire::getVoisinage(const Reseau& r) {
cout << "Coordonnees incorrectes !\n";
}
if (i < r.getHauteur() && j < r.getLargeur()) {
coordonnees[k].x = cellulecentre.abs - i;
coordonnees[k].y = cellulecentre.ord - j;
coordonnees[k].x = cellulecentre->abs - i;
coordonnees[k].y = cellulecentre->ord - j;
}
}
......
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