fixed bug in test_inference related to check_model
fixed bug in test_inference related to check_model

pgmpy/pgmpy,anaviltripathi/pgmpy,sandeepkrjha/pgmpy,liquidmetal/pgmpy,anaviltripathi/pgmpy,khalibartan/pgmpy,pgmpy/pgmpy,jhonatanoliveira/pgmpy,abinashpanda/pgmpy,liquidmetal/pgmpy,yashu-seth/pgmpy,abinashpanda/pgmpy,khalibartan/pgmpy,ankurankan/pgmpy,kris-singh/pgmpy,sandeepkrjha/pgmpy,yashu-seth/pgmpy,kris-singh/pgmpy,jhonatanoliveira/pgmpy,ankurankan/pgmpy