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

Division Zero Error Zfactor #15

Open
defencedog opened this issue Nov 8, 2022 · 1 comment
Open

Division Zero Error Zfactor #15

defencedog opened this issue Nov 8, 2022 · 1 comment

Comments

@defencedog
Copy link

Running on ARM64 Android Termux perfectly

In [5] at file 2. Property calculation from Cubic EoS.ipynb

/data/data/com.termux/files/usr/lib/python3.9/site-packages/phasepy/cubic/cubicpure.py:426: RuntimeWarning: divide by zero encountered in divide zfactor = np.sqrt(a/ci*10**5/100**6)*10**-10

@gustavochm
Copy link
Owner

Dear Defencedog,

Apologies for the very late response. That warning is arising from a division by zero, Did you set an influence parameter ci when creating the component?

Gustavo

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

2 participants