Update InferenceMethod.h

Fix wrong statement in documentation