gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 29e3269 1/7: bug 109074 - copy paste error in


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 29e3269 1/7: bug 109074 - copy paste error in NoiseChisel
Date: Sat, 23 Jul 2016 16:06:49 +0000 (UTC)

branch: master
commit 29e326994118a2f5e2c9cdadce3ebaa2d26db7ef
Author: Vladimir Markelov <address@hidden>
Commit: Vladimir Markelov <address@hidden>

    bug 109074 - copy paste error in NoiseChisel
---
 src/noisechisel/binary.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/noisechisel/binary.c b/src/noisechisel/binary.c
index 75b4954..474b0a7 100644
--- a/src/noisechisel/binary.c
+++ b/src/noisechisel/binary.c
@@ -318,7 +318,7 @@ dilate0_erode1_8con(unsigned char *byt, size_t nr, size_t 
nc,
           && (byt[ind-1]==f        || byt[ind+1]==f
               || byt[ind+nc]==f    || byt[ind-nc]==f
               || byt[ind-1-nc]==f  || byt[ind+1+nc]==f
-              || byt[ind-1+nc]==f  || byt[ind+1+nc]==f) )
+              || byt[ind-1+nc]==f  || byt[ind+1-nc]==f) )
          byt[ind]=BINARYTMP;
       }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]