hkl (4.0.3-2) debian-changes-4.0.3-1

Summary

 test/bench.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Description: Upstream changes introduced in version 4.0.3-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 hkl (4.0.3-1) unstable; urgency=low
 .
   * Initial release. (Closes: #569153)
   * Thanks to Justin B Rye for package description review
 .
 The person named in the Author field signed this changelog entry.
Author: Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
Bug-Debian: http://bugs.debian.org/569153

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- hkl-4.0.3.orig/test/bench.c
+++ hkl-4.0.3/test/bench.c
@@ -23,6 +23,7 @@
 #include <sys/time.h>
 #include <hkl.h>
 
+#define N 10
 #define SET_AXES(geometry, mu, komega, kappa, kphi, gamma, delta) do{\
 	hkl_geometry_set_values_v(geometry, 6,\
 				  mu * HKL_DEGTORAD,\
@@ -136,10 +137,10 @@ static void hkl_test_bench_k6c(void)
 	engines = hkl_pseudo_axis_engine_list_factory(config);
 	hkl_pseudo_axis_engine_list_init(engines, geom, detector, sample);
 
-	hkl_test_bench_hkl_real(engines, geom, "hkl", 1000, 1, 0, 0 );
-	hkl_test_bench_eulerians_real(engines, geom, "eulerians", 1000, 0, 90*HKL_DEGTORAD, 0 );
-	hkl_test_bench_psi_real(engines, geom, "psi", 1000, 10*HKL_DEGTORAD);
-	hkl_test_bench_q2_real(engines, geom, "q2", 1000, 1, 10*HKL_DEGTORAD);
+	hkl_test_bench_hkl_real(engines, geom, "hkl", N, 1, 0, 0 );
+	hkl_test_bench_eulerians_real(engines, geom, "eulerians", N, 0, 90*HKL_DEGTORAD, 0 );
+	hkl_test_bench_psi_real(engines, geom, "psi", N, 10*HKL_DEGTORAD);
+	hkl_test_bench_q2_real(engines, geom, "q2", N, 1, 10*HKL_DEGTORAD);
 
 	hkl_pseudo_axis_engine_list_free(engines);
 	hkl_sample_free(sample);