manoharan-lab / structural-color

Python package for modeling structural color in colloidal systems
GNU General Public License v3.0
16 stars 11 forks source link

Update montecarlo.py #108

Closed avonr closed 6 months ago

avonr commented 6 months ago

Delete redundant correction from pint quantity to numpy. Line 1437 corrects prob_a to a np.ndarray so using prob_a.magnitude in 1442 is redundant and throws error.