[Git][debian-gis-team/mkgmap-splitter][master] 4 commits: New upstream version 0.0.0+svn651

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue May 3 20:10:50 BST 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / mkgmap-splitter


Commits:
93e46376 by Bas Couwenberg at 2022-05-03T21:03:47+02:00
New upstream version 0.0.0+svn651
- - - - -
e2cf6855 by Bas Couwenberg at 2022-05-03T21:03:49+02:00
Update upstream source from tag 'upstream/0.0.0+svn651'

Update to upstream version '0.0.0+svn651'
with Debian dir 874cf0fae1f223991105780cd6c49de7550f6195
- - - - -
0d8eadfe by Bas Couwenberg at 2022-05-03T21:04:13+02:00
New upstream SVN snapshot.

- - - - -
995b1b44 by Bas Couwenberg at 2022-05-03T21:04:44+02:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- resources/splitter-version.properties
- src/uk/me/parabola/splitter/solver/SplittableDensityArea.java


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mkgmap-splitter (0.0.0+svn651-1) unstable; urgency=medium
+
+  * New upstream SVN snapshot.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 03 May 2022 21:04:35 +0200
+
 mkgmap-splitter (0.0.0+svn650-1) unstable; urgency=medium
 
   * New upstream SVN snapshot.


=====================================
resources/splitter-version.properties
=====================================
@@ -1,2 +1,2 @@
-svn.version: 650
-build.timestamp: 2022-03-28T13:44:07+0100
+svn.version: 651
+build.timestamp: 2022-04-04T13:33:59+0100


=====================================
src/uk/me/parabola/splitter/solver/SplittableDensityArea.java
=====================================
@@ -1308,7 +1308,10 @@ public class SplittableDensityArea {
 					int nMin = (int) (minCount / myMaxNodes);
 					if (nMin * myMaxNodes < minCount)
 						nMin++;
-					long limit = minCount / nMin;
+					if (nMin == 0) {
+						nMin++;
+					}
+					long limit = nMin == 0? 1 : minCount / nMin;
 					double dMin = (double) minCount / myMaxNodes;
 					final int around;
 					if ((dMin > 1.8 && dMin < 2.0 && ratio > 0.125 && ratio < 8) || (dMin > 2.8 && dMin < 3.0)) {



View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap-splitter/-/compare/922f1d7aba64baf0e012811e2387076de43b3d29...995b1b4422e1c8a274cb7572b4bbdcea049ccd51

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mkgmap-splitter/-/compare/922f1d7aba64baf0e012811e2387076de43b3d29...995b1b4422e1c8a274cb7572b4bbdcea049ccd51
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/20220503/6689c5d4/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list