trafi

Transducteurs finis
git clone git://git.asteride.xyz/trafi.git
Journaux | Fichiers | Références

commit 297af1b08f1beaca439459fe826048ab4cddb1b1
parent 90c89d52503b61f20105f00f2c162c84b53ec1c1
Auteur: Loïc Daignault-Pichette <loic@asteride.xyz>
Date:   Wed, 22 Apr 2026 11:23:55 -0400

Corriger un bogue

Diffstat:
Mtfd.c | 2+-
1 fichier modifié, 1 insertion(+), 1 suppression(-)

diff --git a/tfd.c b/tfd.c @@ -598,7 +598,7 @@ transducteur(struct tfm *tfm) if (tampex_minim((void **)&corr, ietat) < 0) goto erreur2; assert(pos % 4 == 0); - corr[ietat] = pos << 2; + corr[ietat] = pos >> 2; /* Écrire l’entête de l’état. */ if (tampex_minim((void **)&t, pos + 3) < 0)