Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
583464e0
Commit
583464e0
authored
Jun 06, 2021
by
Luning Yang
Browse files
Update voisinage.cpp
parent
1ee14664
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/voisinage.cpp
View file @
583464e0
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment