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"Return ({cp}) is of type {type(cp)}")
print(f"Element ({cp[0]}) is of type {type(cp[0])}")
Output:
Return ([T = 309.00922 K, ρ = 6.41105 kmol/m³]) is of type <class 'list'>
Element (T = 309.00922 K, ρ = 6.41105 kmol/m³) is of type <class 'builtins.State'>
Not 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).
I am using feos v0.8.0 and si-units v0.11.0 with Python v3.11.3.
When I call
State.critical_point_pure, instead of returning a FeOsStateas indicated in the docs, it returns an Python list whose only element is the expectedState.Example code:
Output:
Not a huge issue, of course, but I imagine it would be good to have the return type of
critical_point_pureto match the binary and general counterparts (or to update the documentation).I am using
feosv0.8.0 andsi-unitsv0.11.0 with Python v3.11.3.