Minor bug in computing the energy of ising demo. (#1106)
Minor bug in computing the energy of ising demo. (#1106)

The contribution of the lower y pixel is assigned to an unused variable a instead of to wi.
probml/pyprobml,probml/pyprobml,probml/pyprobml,probml/pyprobml