{"action":"created","issue":{"url":"https://api.github.com/repos/CMA-ES/pycma/issues/18","repository_url":"https://api.github.com/repos/CMA-ES/pycma","labels_url":"https://api.github.com/repos/CMA-ES/pycma/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/CMA-ES/pycma/issues/18/comments","events_url":"https://api.github.com/repos/CMA-ES/pycma/issues/18/events","html_url":"https://github.com/CMA-ES/pycma/issues/18","id":246383087,"number":18,"title":" FutureWarning results in errors when the last version of numpy is used.","user":{"login":"DSamuylov","id":4727216,"avatar_url":"https://avatars3.githubusercontent.com/u/4727216?v=4","gravatar_id":"","url":"https://api.github.com/users/DSamuylov","html_url":"https://github.com/DSamuylov","followers_url":"https://api.github.com/users/DSamuylov/followers","following_url":"https://api.github.com/users/DSamuylov/following{/other_user}","gists_url":"https://api.github.com/users/DSamuylov/gists{/gist_id}","starred_url":"https://api.github.com/users/DSamuylov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSamuylov/subscriptions","organizations_url":"https://api.github.com/users/DSamuylov/orgs","repos_url":"https://api.github.com/users/DSamuylov/repos","events_url":"https://api.github.com/users/DSamuylov/events{/privacy}","received_events_url":"https://api.github.com/users/DSamuylov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-28T15:33:51Z","updated_at":"2017-07-28T16:15:24Z","closed_at":null,"body":"There are these two warning that appear when you call `fmin` function:\r\n\r\n> ...python2.7/site-packages/cma.py:2938: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison\r\n>   if x0 == str(x0):\r\n> ...python2.7/site-packages/cma.py:957: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.\r\n>   if bounds in (None, [None, None]):\r\n\r\nI just updated `numpy` to the newest version and now `cma` breaks at those points. I had to uninstall it and install an older version of `numpy` to be able to run the code that I have. Anyone could fix the issue?"},"comment":{"url":"https://api.github.com/repos/CMA-ES/pycma/issues/comments/318697073","html_url":"https://github.com/CMA-ES/pycma/issues/18#issuecomment-318697073","issue_url":"https://api.github.com/repos/CMA-ES/pycma/issues/18","id":318697073,"user":{"login":"nikohansen","id":7316439,"avatar_url":"https://avatars3.githubusercontent.com/u/7316439?v=4","gravatar_id":"","url":"https://api.github.com/users/nikohansen","html_url":"https://github.com/nikohansen","followers_url":"https://api.github.com/users/nikohansen/followers","following_url":"https://api.github.com/users/nikohansen/following{/other_user}","gists_url":"https://api.github.com/users/nikohansen/gists{/gist_id}","starred_url":"https://api.github.com/users/nikohansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikohansen/subscriptions","organizations_url":"https://api.github.com/users/nikohansen/orgs","repos_url":"https://api.github.com/users/nikohansen/repos","events_url":"https://api.github.com/users/nikohansen/events{/privacy}","received_events_url":"https://api.github.com/users/nikohansen/received_events","type":"User","site_admin":false},"created_at":"2017-07-28T16:15:24Z","updated_at":"2017-07-28T16:15:24Z","body":"I assume you are using the module installed via `pip` (single file `cma.py`). The issue should be fixed if you install from the current master branch of this repository."}}
{"actor":{"display_login":"nikohansen"}}