From 1d7b77b144369ac36fb561d85f03cb2542550061 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Thu, 7 Jun 2012 19:31:45 +0100 Subject: [PATCH] Neighbour check should be less or equal to 6 to find 2 TTAN --- src/elements/ttan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/ttan.c b/src/elements/ttan.c index d0ff4ceed..0fa735a78 100644 --- a/src/elements/ttan.c +++ b/src/elements/ttan.c @@ -17,7 +17,7 @@ int update_TTAN(UPDATE_FUNC_ARGS) { int nx, ny, ttan = 0; - if(nt<8) + if(nt<=6) { for (nx=-1; nx<2; nx++) for (ny=-1; ny<2; ny++) {