File: increase-tolerance-test_io_sequence_profile.patch

package info (click to toggle)
openstructure 2.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 205,228 kB
  • sloc: cpp: 188,129; python: 35,361; ansic: 34,298; fortran: 3,275; sh: 286; xml: 146; makefile: 29
file content (11 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/modules/io/tests/test_io_sequence_profile.cc
+++ b/modules/io/tests/test_io_sequence_profile.cc
@@ -144,7 +144,7 @@
   entropy -= correct_aa_freqs[16] * log(correct_aa_freqs[16]);
   entropy -= correct_aa_freqs[17] * log(correct_aa_freqs[17]);
   entropy -= correct_aa_freqs[19] * log(correct_aa_freqs[19]);
-  BOOST_CHECK_CLOSE((*prof)[2].GetEntropy(), entropy, Real(1e-5));
+  BOOST_CHECK_CLOSE((*prof)[2].GetEntropy(), entropy, Real(1e-4));
 
   // look at avg entropy...
   BOOST_CHECK_CLOSE(prof->GetAverageEntropy(), 1.48704, Real(1e-2));