You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\cools\AppData\Roaming\Python\Python311\site-packages\sgtpy\sgt\sgtpure.py:65: RuntimeWarning: invalid value encountered in sqrt
tenint = np.nan_to_num(np.sqrt(2*dOm))
The text was updated successfully, but these errors were encountered:
I see, I just checked the example and that warning is due to the Grand Potential Difference being negative. This usually happens when the liquid and vapour phases do not have exactly the same chemical potential (due to tolerance errors). The warning doesn't affect the result due to the np.nan_to_num function.
error like below
C:\Users\cools\AppData\Roaming\Python\Python311\site-packages\sgtpy\sgt\sgtpure.py:65: RuntimeWarning: invalid value encountered in sqrt
tenint = np.nan_to_num(np.sqrt(2*dOm))
The text was updated successfully, but these errors were encountered: