Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
d/p/mia_226_glibc_227: use numeric_limits::max() Closes: #891337
· 09c51ef6
Gert Wollny
authored
Mar 06, 2018
09c51ef6
d/rules: drop superfluous --parallel in dh command
· e4df3a2c
Gert Wollny
authored
Mar 06, 2018
e4df3a2c
update changelog for new upload
· f862d84b
Gert Wollny
authored
Mar 06, 2018
f862d84b
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
f862d84b
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@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
0 → 100644
View file @
f862d84b
Author: Gert Wollny <gewo@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
0 → 100644
View file @
f862d84b
mia_226_glibc_227.patch
debian/rules
View file @
f862d84b
...
...
@@ -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
--
\
...
...