diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-07 18:31:45 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-07 18:31:45 (GMT) |
| commit | 1d7b77b144369ac36fb561d85f03cb2542550061 (patch) | |
| tree | d7dd1106cdf1036c33097038ba3718a4e6c5c49c /src/elements | |
| parent | 04a09d997d3afc9d99255b469aa24ede2b25e881 (diff) | |
| download | powder-1d7b77b144369ac36fb561d85f03cb2542550061.zip powder-1d7b77b144369ac36fb561d85f03cb2542550061.tar.gz | |
Neighbour check should be less or equal to 6 to find 2 TTAN
Diffstat (limited to 'src/elements')
| -rw-r--r-- | src/elements/ttan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/ttan.c b/src/elements/ttan.c index d0ff4ce..0fa735a 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++) { |
