WagnerGroup / pyqmc

Python library for real space quantum Monte Carlo
MIT License
82 stars 33 forks source link

fix pgradient test error check #441

Closed willwheelera closed 5 months ago

willwheelera commented 5 months ago

error[max(error)] was intended to return the maximum error in the dictionary error, however, max(error) returns the maximum of the keys themselves, not the key of the maximum value. So this is changed to max(error.values()).