Title: `State.critical_point_pure` returns a Python list containing FeOs `State` · Issue #296 · feos-org/feos · GitHub
Open Graph Title: `State.critical_point_pure` returns a Python list containing FeOs `State` · Issue #296 · feos-org/feos
X Title: `State.critical_point_pure` returns a Python list containing FeOs `State` · Issue #296 · feos-org/feos
Description: When I call State.critical_point_pure, instead of returning a FeOs State as indicated in the docs, it returns an Python list whose only element is the expected State. Example code: cp = State.critical_point_pure(pcsaft_pure[1]) print(f"R...
Open Graph Description: When I call State.critical_point_pure, instead of returning a FeOs State as indicated in the docs, it returns an Python list whose only element is the expected State. Example code: cp = State.criti...
X Description: When I call State.critical_point_pure, instead of returning a FeOs State as indicated in the docs, it returns an Python list whose only element is the expected State. Example code: cp = State.criti...
Opengraph URL: https://github.com/feos-org/feos/issues/296
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`State.critical_point_pure` returns a Python list containing FeOs `State`","articleBody":"When I call `State.critical_point_pure`, instead of returning a FeOs `State` as indicated in the docs, it returns an Python list whose only element is the expected `State`.\n\nExample code:\n```\ncp = State.critical_point_pure(pcsaft_pure[1])\nprint(f\"Return ({cp}) is of type {type(cp)}\")\nprint(f\"Element ({cp[0]}) is of type {type(cp[0])}\")\n```\nOutput:\n```\nReturn ([T = 309.00922 K, ρ = 6.41105 kmol/m³]) is of type \u003cclass 'list'\u003e\nElement (T = 309.00922 K, ρ = 6.41105 kmol/m³) is of type \u003cclass 'builtins.State'\u003e\n```\n\nNot a huge issue, of course, but I imagine it would be good to have the return type of `critical_point_pure` to match the binary and general counterparts (or to update the documentation).\n\n---\nI am using `feos` v0.8.0 and `si-units` v0.11.0 with Python v3.11.3.","author":{"url":"https://github.com/ImagineBaggins","@type":"Person","name":"ImagineBaggins"},"datePublished":"2025-08-29T21:06:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/296/feos/issues/296"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c12da1e8-ca4a-8f30-d3ef-7901fcf2a6a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7CC:38FB6D:1385E:18B23:69902927 |
| html-safe-nonce | b7a618e12ed540e5e065a116e227c5c770d7eca7984dcbe9eb1cb8ef98b4678b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0NDOjM4RkI2RDoxMzg1RToxOEIyMzo2OTkwMjkyNyIsInZpc2l0b3JfaWQiOiIxMjE0MDk1OTAyMzk1ODY5NDc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0041ed8577ce1ac7b7a516e466b7376d1b9787cc3bca57e567f4570e14a509e1 |
| hovercard-subject-tag | issue:3368185693 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feos-org/feos/296/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0779f266569a27248e53e2f4c0656e66e000f372083874db4566a3cbbaab9b47/feos-org/feos/issues/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0779f266569a27248e53e2f4c0656e66e000f372083874db4566a3cbbaab9b47/feos-org/feos/issues/296 |
| og:image:alt | When I call State.critical_point_pure, instead of returning a FeOs State as indicated in the docs, it returns an Python list whose only element is the expected State. Example code: cp = State.criti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ImagineBaggins |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/feos-org/feos git https://github.com/feos-org/feos.git |
| octolytics-dimension-user_id | 87855701 |
| octolytics-dimension-user_login | feos-org |
| octolytics-dimension-repository_id | 424905104 |
| octolytics-dimension-repository_nwo | feos-org/feos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 424905104 |
| octolytics-dimension-repository_network_root_nwo | feos-org/feos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width