Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SERIOUS BUG! Invalid returned values on Mac 13.3 with 0.15.3 #41

Closed
ianhbell opened this issue Apr 18, 2023 · 0 comments
Closed

SERIOUS BUG! Invalid returned values on Mac 13.3 with 0.15.3 #41

ianhbell opened this issue Apr 18, 2023 · 0 comments

Comments

@ianhbell
Copy link
Collaborator

More debugging is needed to figure out the precise culprit, but on Mac OS 13.3, invalid values are returned from this code block:

import teqp
import numpy as np
print(teqp.__version__)

Tc_K = [300]
pc_Pa = [4e6]
acentric = [0.01]
z = np.array([1.0])
model = teqp.canonical_PR(Tc_K, pc_Pa, acentric)
print(model.get_Ar06n(300.0, 300.0, z))

yielding

0.15.4dev
[0. 0. 0. 0. 0. 0. 0.]

What combination of things are required to get this result is unclear, as it works fine on windows and linux with version 0.15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant