Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error in enthalpy_second_derivatives h_sa_sa
Browse files Browse the repository at this point in the history
Jacob Wood committed Apr 23, 2024
1 parent 00a4ce0 commit b1aed24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.rs
Original file line number Diff line number Diff line change
@@ -2076,7 +2076,7 @@ pub fn enthalpy_second_derivatives(sa: f64, ct: f64, p: f64) -> Result<(f64, f64
+ 3.0 * H303 * s2
+ tau * (-H113 + tau * (-H123 - H133 * tau))
+ pi * (-H104 - H114 * tau - H105 * pi)))));
let h_sa_sa = 1e8 * 0.25 * GSW_SFAC * dynamic_h_sa_sa_part / (s * s * s);
let h_sa_sa = 1e8 * 0.25 * GSW_SFAC * GSW_SFAC * dynamic_h_sa_sa_part / (s * s * s);

let dynamic_h_sa_ct_part = pi
* (H111

0 comments on commit b1aed24

Please sign in to comment.