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

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



Martin Uecker pushed to branch testing at Debian Med / bart


Commits:
3e921d20 by Martin Uecker at 2021-10-25T22:04:46+02:00
patch to address failing test 6

- - - - -


1 changed file:

- debian/patches/0006-patch-to-address-failing-test-5.patch


Changes:

=====================================
debian/patches/0006-patch-to-address-failing-test-5.patch
=====================================
@@ -3,24 +3,22 @@ Date: Mon, 25 Oct 2021 19:59:37 +0200
 Subject: patch to address failing test 5
 
 ---
- utests/test_nufft.c | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
+ utests/test_nufft.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
 
 diff --git a/utests/test_nufft.c b/utests/test_nufft.c
-index ce19710..375fa03 100644
+index ce19710..2ab1088 100644
 --- a/utests/test_nufft.c
 +++ b/utests/test_nufft.c
-@@ -101,9 +101,7 @@ static bool test_nufft_forward(void)
+@@ -101,8 +101,6 @@ static bool test_nufft_forward(void)
  
  	linop_free(op);
  
 -	debug_printf(DP_INFO, "forward diff: %f (%f%+fi)\n", cabsf(dst[0] - 8.f), crealf(dst[0]), cimagf(dst[0]));
 -
--	return true;
-+	return (cabsf(dst[0] - 8.f) < 0.02);
+ 	return true;
  }
  
- 
 @@ -226,7 +224,7 @@ static bool test_nufft_basis_toeplitz(void)
  
  	md_zsmul(N, ci2_dims, dst1, dst1, sc / (n * n));



View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/3e921d2055eb6d0d59917484750aeaa4b242be94

-- 
View it on GitLab: https://salsa.debian.org/med-team/bart/-/commit/3e921d2055eb6d0d59917484750aeaa4b242be94
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/ccda6216/attachment.htm>


More information about the debian-med-commit mailing list