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));
|