Neighbour check should be less or equal to 6 to find 2 TTAN
This commit is contained in:
parent
04a09d997d
commit
1d7b77b144
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
int update_TTAN(UPDATE_FUNC_ARGS) {
|
int update_TTAN(UPDATE_FUNC_ARGS) {
|
||||||
int nx, ny, ttan = 0;
|
int nx, ny, ttan = 0;
|
||||||
if(nt<8)
|
if(nt<=6)
|
||||||
{
|
{
|
||||||
for (nx=-1; nx<2; nx++)
|
for (nx=-1; nx<2; nx++)
|
||||||
for (ny=-1; ny<2; ny++) {
|
for (ny=-1; ny<2; ny++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user