{"action":"created","issue":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/634","labels_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/634/labels{/name}","comments_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/634/comments","events_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/634/events","html_url":"https://github.com/CoolProp/CoolProp/issues/634","id":71616302,"number":634,"title":"BICUBIC HeavyWater Issue","user":{"login":"11718pauld","id":10331330,"avatar_url":"https://avatars.githubusercontent.com/u/10331330?v=3","gravatar_id":"","url":"https://api.github.com/users/11718pauld","html_url":"https://github.com/11718pauld","followers_url":"https://api.github.com/users/11718pauld/followers","following_url":"https://api.github.com/users/11718pauld/following{/other_user}","gists_url":"https://api.github.com/users/11718pauld/gists{/gist_id}","starred_url":"https://api.github.com/users/11718pauld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/11718pauld/subscriptions","organizations_url":"https://api.github.com/users/11718pauld/orgs","repos_url":"https://api.github.com/users/11718pauld/repos","events_url":"https://api.github.com/users/11718pauld/events{/privacy}","received_events_url":"https://api.github.com/users/11718pauld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-28T15:09:18Z","updated_at":"2015-05-07T14:33:40Z","closed_at":null,"body":"With `git pull`ed and build now...\r\n```python\r\nimport CoolProp.CoolProp as CPpy\r\nimport CoolProp as CP\r\nimport numpy as np\r\nimport CoolProp.constants as CPc\r\nimport time\r\n\r\nprint(CP.__version__)\r\nprint(CP.__gitrevision__)\r\n\r\nlen = 10\r\nt1 = time.time()\r\nst = CPpy.AbstractState('BICUBIC&HEOS','HeavyWater')\r\nt2 = time.time()\r\nprint('%e' % (t2 - t1))\r\n\r\nh = np.linspace(900e3,1100e3,len)\r\np = np.linspace(2.8e6,2.9e6,len)\r\nrho = np.zeros(len)\r\nt = np.zeros(len)\r\nx = np.zeros(len)\r\neta = np.zeros(len)\r\nqual = np.zeros(len)\r\n\r\nt1 = time.time()\r\nfor i in range(len): \r\n    \r\n    st.update(CPc.HmassP_INPUTS, h[i], p[i])\r\n    rho[i] = st.keyed_output(CPc.iDmass)\r\n    t[i] = st.keyed_output(CPc.iT)\r\n    eta[i] = st.keyed_output(CPc.iviscosity)\r\n    x[i] = st.keyed_output(CPc.iQ)\r\n    \r\n    if (np.isnan(rho[i]) or np.isinf(rho[i]) or np.isnan(t[i]) or np.isinf(t[i]) or\r\n        np.isnan(x[i]) or np.isinf(x[i]) or np.isnan(eta[i]) or np.isinf(eta[i])):\r\n        print('%f %f %f %f %f %f' % (p[i], h[i], rho[i], t[i], x[i], eta[i]))\r\n    else:\r\n        continue\r\n        \r\nt2 = time.time()\r\nprint('Total Time : %f\\n Per Call : %e' % ((t2 - t1),((t2 - t1)/len)) )\r\n```\r\n```python\r\n5.1.1dev\r\n7cb1add5bc895a82e928a99a3b3838f57d12da13\r\n5.475307e-01\r\n2800000.000000 900000.000000 934.301405 490.528645 -1000.000000 inf\r\n2811111.111111 922222.222222 926.798842 495.593555 -1000.000000 inf\r\n2822222.222222 944444.444444 919.136194 500.621505 -1000.000000 nan\r\n\r\n---------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n<ipython-input-11-c982f88fc75f> in <module>()\r\n     28     rho[i] = st.keyed_output(CPc.iDmass)\r\n     29     t[i] = st.keyed_output(CPc.iT)\r\n---> 30     eta[i] = st.keyed_output(CPc.iviscosity)\r\n     31     x[i] = st.keyed_output(CPc.iQ)\r\n     32 \r\n\r\nCoolProp/AbstractState.pyx in CoolProp.CoolProp.AbstractState.keyed_output (CoolProp/CoolProp.cpp:10695)()\r\n\r\nCoolProp/AbstractState.pyx in CoolProp.CoolProp.AbstractState.keyed_output (CoolProp/CoolProp.cpp:10630)()\r\n\r\nValueError: muV is invalid\r\n```"},"comment":{"url":"https://api.github.com/repos/CoolProp/CoolProp/issues/comments/99889170","html_url":"https://github.com/CoolProp/CoolProp/issues/634#issuecomment-99889170","issue_url":"https://api.github.com/repos/CoolProp/CoolProp/issues/634","id":99889170,"user":{"login":"ibell","id":1859947,"avatar_url":"https://avatars.githubusercontent.com/u/1859947?v=3","gravatar_id":"","url":"https://api.github.com/users/ibell","html_url":"https://github.com/ibell","followers_url":"https://api.github.com/users/ibell/followers","following_url":"https://api.github.com/users/ibell/following{/other_user}","gists_url":"https://api.github.com/users/ibell/gists{/gist_id}","starred_url":"https://api.github.com/users/ibell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibell/subscriptions","organizations_url":"https://api.github.com/users/ibell/orgs","repos_url":"https://api.github.com/users/ibell/repos","events_url":"https://api.github.com/users/ibell/events{/privacy}","received_events_url":"https://api.github.com/users/ibell/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T14:33:40Z","updated_at":"2015-05-07T14:33:40Z","body":"Weird.  What about deleting your local directory and doing a fresh clone?\n\nOn Thu, May 7, 2015 at 8:31 AM, Paul D <notifications@github.com> wrote:\n\n> did git pull couple of times and then python setup.py install, but still\n> git revision is 840c497fdfe4122ba9cadbc8e32f1fe17554e4f7.\n> Not getting updated.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/CoolProp/CoolProp/issues/634#issuecomment-99888699>.\n>\n"}}