mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-05 22:04:27 +08:00
add another specialization to make this faster
This commit is contained in:
@@ -174,7 +174,12 @@ bool AllProbeBitsMatch(const T1 &probe,const T1 &ref){
|
||||
return true;
|
||||
}
|
||||
template bool AllProbeBitsMatch(const SparseBitVect& bv1,const SparseBitVect& bv2);
|
||||
template bool AllProbeBitsMatch(const ExplicitBitVect& bv1,const ExplicitBitVect &bv2);
|
||||
//template bool AllProbeBitsMatch(const ExplicitBitVect& bv1,const ExplicitBitVect &bv2);
|
||||
|
||||
bool AllProbeBitsMatch(const ExplicitBitVect& probe,const ExplicitBitVect &ref){
|
||||
return probe.dp_bits->is_subset_of(*(ref.dp_bits));
|
||||
}
|
||||
|
||||
|
||||
// """ -------------------------------------------------------
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user