Julien Y. Dutheil pushed to branch master at Debian Med / libbpp-phyl

Commits:
5afe4850 by Julien Y. Dutheil at 2018-02-11T21:18:30+01:00
Reduced test execution time.

Closesi: #890136

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/reduce_test_time.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libbpp-phyl (2.3.2-3) UNRELEASED; urgency=medium
+
+  * Reduced execution time of test_likelihood_nh
+    Closes: #890136
+
+ -- Julien Dutheil <julien.duth...@univ-montp2.fr>  Fri, 09 Feb 2018 09:10:11 
+0200
+
 libbpp-phyl (2.3.2-2) unstable; urgency=medium
 
   * Fixed covariant return type on 32bits arch.


=====================================
debian/patches/reduce_test_time.patch
=====================================
--- /dev/null
+++ b/debian/patches/reduce_test_time.patch
@@ -0,0 +1,13 @@
+diff --git a/test/test_likelihood_nh.cpp b/test/test_likelihood_nh.cpp
+index b4cd485..97431aa 100644
+--- a/test/test_likelihood_nh.cpp
++++ b/test/test_likelihood_nh.cpp
+@@ -89,7 +89,7 @@ int main() {
+   DiscreteDistribution* rdist = new GammaDiscreteRateDistribution(4, 1.0);
+ 
+   size_t nsites = 1000;
+-  unsigned int nrep = 20;
++  unsigned int nrep = 3;
+   size_t nmodels = modelSet->getNumberOfModels();
+   vector<double> thetas(nmodels);
+   vector<double> thetasEst1(nmodels);


=====================================
debian/patches/series
=====================================
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 unforce-cxxflags.patch
 correct_constructors_inheritance.patch
 fix_covariant_return.patch
+reduce_test_time.patch



View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-phyl/commit/5afe4850b42099c7d9d6f50213c9129a9335a7f3

---
View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-phyl/commit/5afe4850b42099c7d9d6f50213c9129a9335a7f3
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to