class Inference is a polymorphic base class and needs a virtual destructor.
Merge pull request #20 from bekaus/master

class Inference is a polymorphic base class and needs a virtual destructor.