Change the annotation locker to a pointer to mutex to avoid coying mutex

Former-commit-id: d179d8753b593183312bd11184e5d8ebb301138a
This commit is contained in:
coissac committed 2023-08-27 16:00:35 +02:00
1 parent 7b7128196a
commit 18d3eec24a
4 files changed
+101 -100

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ func SequenceClassifier() *BioSequenceClassifier {
defer locke.RUnlock()
if k >= maxcode {
log.Fatalf("value %d not register")
log.Fatalf("value %d not register", k)
}
return decode[k]
}