[med-svn] [Git][med-team/mia][master] 3 commits: d/p/mia_226_glibc_227: use numeric_limits::max() Closes: #891337
Gert Wollny
gitlab at salsa.debian.org
Tue Mar 6 11:13:02 UTC 2018
Gert Wollny pushed to branch master at Debian Med / mia
Commits:
09c51ef6 by Gert Wollny at 2018-03-06T10:04:57+01:00
d/p/mia_226_glibc_227: use numeric_limits::max() Closes: #891337
- - - - -
e4df3a2c by Gert Wollny at 2018-03-06T11:19:21+01:00
d/rules: drop superfluous --parallel in dh command
- - - - -
f862d84b by Gert Wollny at 2018-03-06T11:22:03+01:00
update changelog for new upload
- - - - -
4 changed files:
- debian/changelog
- + debian/patches/mia_226_glibc_227.patch
- + debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mia (2.4.6-2) unstable; urgency=medium
+
+ * d/p/mia_226_glibc_227: use numeric_limits::max() Closes: #891337
+ * d/rules: drop superfluous --parallel in dh command
+
+ -- Gert Wollny <gewo at debian.org> Tue, 06 Mar 2018 11:21:28 +0100
+
mia (2.4.6-1) unstable; urgency=medium
* New upstream version 2.4.6
=====================================
debian/patches/mia_226_glibc_227.patch
=====================================
--- /dev/null
+++ b/debian/patches/mia_226_glibc_227.patch
@@ -0,0 +1,31 @@
+Author: Gert Wollny <gewo at debian.org>
+Description: Replaced use of HUGE by std::numeric_limits::max()
+Debian-Bug: https://bugs.debian.org/891337
+
+--- a/src/fluid2d/vfluid.cc
++++ b/src/fluid2d/vfluid.cc
+@@ -1,3 +1,4 @@
++
+ /* -*- mia-c++ -*-
+ *
+ * This file is part of MIA - a toolbox for medical image analysis
+@@ -206,7 +207,7 @@
+
+ float TFluidReg::calculateJacobian()
+ {
+- float jmin = HUGE;
++ float jmin = numeric_limits<float>::max();
+ for (unsigned int y = Start.y+1; y < End.y-1; y++) {
+ for (unsigned int x = Start.x+1; x < End.x-1; x++) {
+ float j = jacobianAt(x, y);
+--- a/src/fluid3d/vfluid.cc
++++ b/src/fluid3d/vfluid.cc
+@@ -443,7 +443,7 @@
+ P3DFVectorfield u(new C3DFVectorfield(params.source->get_size()));
+ P3DFVectorfield s = in_shift ? in_shift : P3DFVectorfield(new C3DFVectorfield(params.source->get_size()));
+
+- double mismatch = HUGE;
++ double mismatch = numeric_limits<double>::max();
+ bool do_continue = true;
+
+ unique_ptr< TFluidReg> Register(new TFluidReg(params,solver, ipf));
=====================================
debian/patches/series
=====================================
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+mia_226_glibc_227.patch
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ endif
.PHONY: override_dh_strip override_dh_shlibdeps override_dh_auto_test
%:
- dh $@ --parallel
+ dh $@
override_dh_auto_configure:
dh_auto_configure -- \
View it on GitLab: https://salsa.debian.org/med-team/mia/compare/3957294ca08c16d2771cb99e75967e46acc72a34...f862d84be8dff733b428fbc56a109400c993c743
---
View it on GitLab: https://salsa.debian.org/med-team/mia/compare/3957294ca08c16d2771cb99e75967e46acc72a34...f862d84be8dff733b428fbc56a109400c993c743
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180306/eefa8cf4/attachment-0001.html>
More information about the debian-med-commit
mailing list