Fix for mean_field.hxx

Here is a small fix for libdai::MeanField in mean_field.hxx