Commit bbadffa3 authored by Luning Yang's avatar Luning Yang
Browse files

Update voisinage.cpp

parent c0eff35b
......@@ -212,7 +212,7 @@ void RegleVoisinageArbitraire::calculVoisinage(Voisinage &v, const Reseau& r) {
unsigned int hauteur = r.getHauteur();
unsigned int largeur = r.getLargeur();
while (nb = 0, nb < coordonnees.size(), nb++){
for (int nb = 0; nb < coordonnees.size(); nb++){
v.voisinage[nb] = &r.getReseau()[abs - co[nb].getx()] [ord - co[nb].gety()];
}
}
......
Markdown is supported
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