{"push_id":3044727570,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"6765e2f7bfdd9fe6edd4a9f5a84da56d5d91eda4","before":"3bce1aa7583f615e00c06cbcb9b79ecfbaa21010","commits":[{"sha":"7c50cc824fe73641f2f5181ee745574c5fd100fc","author":{"name":"Jonathan Fraine","email":"29cb132f886397f69b0532e31a718ddd44135159@users.noreply.github.com"},"message":"Changed `==` to `is`\n\nWhen sending a list or array for `weights` to the main function `plotGTC`, I received the `ValueError` message\r\n\r\n`ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()`\r\n\r\nThis was related to `line 397`, which previously read `if weights==None:`; but an array/list cannot be compared to a value using `==` in python3. Instead, it must be contained within an `is` condition.  Thus, `line 397` now reads `if weights is None:`.\r\n\r\nThis fix created the behaviour as desired; namely that when using a weights array with my chains (primarily for use with multinest), the posteriors are properly bounded and represent the necessary structure.","distinct":true,"url":"https://api.github.com/repos/SebastianBocquet/pygtc/commits/7c50cc824fe73641f2f5181ee745574c5fd100fc"},{"sha":"6765e2f7bfdd9fe6edd4a9f5a84da56d5d91eda4","author":{"name":"Sebastian Bocquet","email":"87fe1e90cc4bb028c53b29f15206cb689917ab70@gmail.com"},"message":"Merge pull request #15 from exowanderer/patch-1\n\nChanged `==` to `is` on line 397","distinct":true,"url":"https://api.github.com/repos/SebastianBocquet/pygtc/commits/6765e2f7bfdd9fe6edd4a9f5a84da56d5d91eda4"}]}
{"actor":{"display_login":"SebastianBocquet"}}