[med-svn] [Git][med-team/tantan][upstream] New upstream version 52

Sascha Steinbiss (@satta) gitlab at salsa.debian.org
Sun Aug 9 19:17:19 BST 2026



Sascha Steinbiss pushed to branch upstream at Debian Med / tantan


Commits:
36f1952f by Sascha Steinbiss at 2026-08-09T19:47:13+02:00
New upstream version 52
- - - - -


2 changed files:

- src/Makefile
- src/tantan.cc


Changes:

=====================================
src/Makefile
=====================================
@@ -10,7 +10,7 @@ clean:
 	rm -f ../bin/tantan
 
 VERSION1 = git describe --dirty
-VERSION2 = echo ' (HEAD -> main, tag: 51) ' | sed -e 's/.*tag: *//' -e 's/[,) ].*//'
+VERSION2 = echo ' (HEAD -> main, tag: 52) ' | sed -e 's/.*tag: *//' -e 's/[,) ].*//'
 
 VERSION = \"`test -e ../.git && $(VERSION1) || $(VERSION2)`\"
 


=====================================
src/tantan.cc
=====================================
@@ -425,13 +425,14 @@ struct Tantan {
     }
 
     double z = forwardTotal();
+    double zInv = 1 / z;
 
     initializeBackwardAlgorithm();
 
     while (seqPtr > seqBeg) {
       --seqPtr;
       --letterProbs;
-      double nonRepeatProb = *letterProbs * backgroundProb / z;
+      double nonRepeatProb = *letterProbs * backgroundProb * zInv;
       // Convert nonRepeatProb to a float, so that it is more likely
       // to be exactly 1 when it should be, e.g. for the 1st letter of
       // a sequence:



View it on GitLab: https://salsa.debian.org/med-team/tantan/-/commit/36f1952f1e2fb1ec9ddbc944e57576ff0eb6221b

-- 
View it on GitLab: https://salsa.debian.org/med-team/tantan/-/commit/36f1952f1e2fb1ec9ddbc944e57576ff0eb6221b
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260809/33412497/attachment-0001.htm>


More information about the debian-med-commit mailing list