Closed wittregr closed 1 year ago
Version of pMuTT 1.3.1
When creating a matrix to compute thermodynamic quantities from empirical relationships in pmutt. empirical.nasa an warning is raised indicating the operation is deprecated due to the combined use of vectors (values of T) and scalars 0 and 1.
T_arr = np.array([-(T-2) / 2., -(T-1), np.log(T), T, (T2) / 2., (T3) / 3., (T**4) / 4., 0, 1])
This has been corrected by replacing the scalars with vectors.
T_arr = np.array([-(T-2) / 2., -(T-1), np.log(T), T, (T2) / 2., (T3) / 3., (T**4) / 4., np.zeros_like(T), np.ones_like(T)])
Version of pMuTT 1.3.1
When creating a matrix to compute thermodynamic quantities from empirical relationships in pmutt. empirical.nasa an warning is raised indicating the operation is deprecated due to the combined use of vectors (values of T) and scalars 0 and 1.
T_arr = np.array([-(T-2) / 2., -(T-1), np.log(T), T, (T2) / 2., (T3) / 3., (T**4) / 4., 0, 1])