Merge pull request #9884 from ellemouton/relaxFeatureBitCheck

multi: use relaxed feature bit `Set` method for peer features
This commit is contained in:
Yong authored and GitHub committed 2025-09-10 17:22:16 +08:00
commit d1d3a82010
5 files changed
+41 -30

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ func (fv RawFeatureVector) Equals(other *RawFeatureVector) bool {
return true
}
// Merges sets all feature bits in other on the receiver's feature vector.
// Merge sets all feature bits in other on the receiver's feature vector.
func (fv *RawFeatureVector) Merge(other *RawFeatureVector) error {
for bit := range other.features {
err := fv.SafeSet(bit)