reduced the redundant code in reduce [refs #255]
reduced the redundant code in reduce [refs #255]
khalibartan/pgmpy,liquidmetal/pgmpy,ankurankan/pgmpy,sandeepkrjha/pgmpy,yashu-seth/pgmpy,anaviltripathi/pgmpy,ankurankan/pgmpy,jhonatanoliveira/pgmpy,kris-singh/pgmpy,abinashpanda/pgmpy,pratyakshs/pgmpy,jhonatanoliveira/pgmpy,liquidmetal/pgmpy,anaviltripathi/pgmpy,vivek425ster/pgmpy,palashahuja/pgmpy,palashahuja/pgmpy,pgmpy/pgmpy,yashu-seth/pgmpy,sandeepkrjha/pgmpy,pratyakshs/pgmpy,vivek425ster/pgmpy,pgmpy/pgmpy,kris-singh/pgmpy,abinashpanda/pgmpy,khalibartan/pgmpy