Minor fix in finding the factors to be marginalized.
Minor fix in finding the factors to be marginalized.

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