[med-svn] [Git][med-team/bart][testing] 2 commits: patch to address failing test 6

Martin Uecker (@uecker-guest) gitlab at salsa.debian.org
Mon Oct 25 21:24:23 BST 2021



Martin Uecker pushed to branch testing at Debian Med / bart


Commits:
344b04c5 by Martin Uecker at 2021-10-25T22:22:14+02:00
patch to address failing test 6

- - - - -
d7dfff18 by Martin Uecker at 2021-10-25T22:22:36+02:00
patch to address failing test 6

- - - - -


2 changed files:

- + debian/patches/0007-patch-to-address-failing-test-6.patch
- debian/patches/series


Changes:

=====================================
debian/patches/0007-patch-to-address-failing-test-6.patch
=====================================
@@ -0,0 +1,30 @@
+From: Martin Uecker <martin.uecker at med.uni-goettingen.de>
+Date: Mon, 25 Oct 2021 22:21:51 +0200
+Subject: patch to address failing test 6
+
+---
+ utests/test_nufft.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/utests/test_nufft.c b/utests/test_nufft.c
+index 8568920..1edac64 100644
+--- a/utests/test_nufft.c
++++ b/utests/test_nufft.c
+@@ -101,7 +101,7 @@ static bool test_nufft_forward(void)
+ 
+ 	linop_free(op);
+ 
+-	return true;
++	return (cabsf(dst[0] - 8.f) < 0.02);	// !
+ }
+ 
+ 
+@@ -224,7 +224,7 @@ static bool test_nufft_basis_toeplitz(void)
+ 
+ 	md_zsmul(N, ci2_dims, dst1, dst1, sc / (n * n));
+ 
+-	return true; //md_znrmse(N, ci2_dims, dst1, dst2) < 1.E-4;
++	return md_znrmse(N, ci2_dims, dst1, dst2) < 1.E-4;
+ }
+ 
+ 


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
 0004-print-out-number-of-failing-test.patch
 0005-relax-accuracy-in-failing-unit-test.patch
 0006-patch-to-address-failing-test-5.patch
+0007-patch-to-address-failing-test-6.patch



View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/f7ac4af1db632f97801c6436d8c948a90a566a38...d7dfff181c717e6429b3af8d0242ddfa9fc2a64b

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/compare/f7ac4af1db632f97801c6436d8c948a90a566a38...d7dfff181c717e6429b3af8d0242ddfa9fc2a64b
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/debian-med-commit/attachments/20211025/b9d52a71/attachment-0001.htm>


More information about the debian-med-commit mailing list