[Git][debian-gis-team/snaphu][upstream] New upstream version 2.0.2

Antonio Valentino gitlab at salsa.debian.org
Wed Oct 30 04:55:17 GMT 2019



Antonio Valentino pushed to branch upstream at Debian GIS Project / snaphu


Commits:
3ce363d7 by Antonio Valentino at 2019-10-30T04:39:49Z
New upstream version 2.0.2
- - - - -


4 changed files:

- README
- README_releasenotes.txt
- src/snaphu.h
- src/snaphu_solver.c


Changes:

=====================================
README
=====================================
@@ -1,7 +1,7 @@
 SNAPHU
 Statistical-Cost, Netowrk-Flow Algorithm for Phase Unwrapping
 Author: Curtis W. Chen
-Version 2.0.0, March 2019
+Version 2.0.2, October 2019
 
 
 Contents


=====================================
README_releasenotes.txt
=====================================
@@ -1,3 +1,17 @@
+Notable changes in v2.0.2 since v2.0.1:
+---------------------------------------
+
+* Fixed indexing error that would sometimes cause segmentation fault when
+  discharging boundary of masked region.
+  
+
+Notable changes in v2.0.1 since v2.0.0:
+---------------------------------------
+
+* Bug fixes affecting externally generated costs read from a file and
+  handling of zero-cost primary and secondary arcs.
+  
+
 Notable changes in v2.0 since v1.4.2:
 -------------------------------------
 


=====================================
src/snaphu.h
=====================================
@@ -14,7 +14,7 @@
 /**********************/
 
 #define PROGRAMNAME          "snaphu"
-#define VERSION              "2.0.1"
+#define VERSION              "2.0.2"
 #define BUGREPORTEMAIL       "snaphu at gmail.com"
 #ifdef PI
 #undef PI


=====================================
src/snaphu_solver.c
=====================================
@@ -1751,10 +1751,10 @@ int DischargeBoundary(nodeT **nodes, nodeT *ground,
       if(row<nrow-1){
         if(iscandidate[row][col]){
           if(col>0){
-            nodes[row][col].outcost=0;
+            nodes[row][col-1].outcost=0;
           }
           if(col<ncol-1){
-            nodes[row][col+1].outcost=0;
+            nodes[row][col].outcost=0;
           }
         }
         iscandidate[row][col]=FALSE;
@@ -1762,10 +1762,10 @@ int DischargeBoundary(nodeT **nodes, nodeT *ground,
       if(col<ncol-1){
         if(iscandidate[row+nrow-1][col]){
           if(row>0){
-            nodes[row][col].outcost=0;
+            nodes[row-1][col].outcost=0;
           }
           if(row<nrow-1){
-            nodes[row+1][col].outcost=0;
+            nodes[row][col].outcost=0;
           }
         }
         iscandidate[row+nrow-1][col]=FALSE;



View it on GitLab: https://salsa.debian.org/debian-gis-team/snaphu/commit/3ce363d7e16a54e6f529586f1d28350a6c103069

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/snaphu/commit/3ce363d7e16a54e6f529586f1d28350a6c103069
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20191030/34c21c3c/attachment-0001.html>


More information about the Pkg-grass-devel mailing list