Keep a pointer to the current row instead of recalculating its location (#644)
Keep a pointer to the current row instead of recalculating its location (#644)

* Keep a pointer to the current row instead of recalculating its location

* mis-indent when resolving merge issue

* Update BayesianNetwork.pyx

jmschrei/pomegranate,jmschrei/pomegranate