# OEIsSameFPType¶

bool OEIsSameFPType(const OEFingerPrint &fpA, const OEFingerPrint &fpB)


Returns whether or not the types (OEFPTypeBase) of the two OEFingerPrint objects are the same.

Note

Two user-defined path fingerprints have the same type only if they have been generated with the same parameters (i.e. number of bits, minimum and maximum path size and atom and bond typing options) and have the same version number.

Warning

Similarity measure functions (such as OETanimoto) only work on fingerprints with identical type (OEFPTypeBase).