Skip to content

Commit

Permalink
Fix error in enthalpy_second_derivatives h_sa_sa
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Wood authored and castelao committed Aug 4, 2024
1 parent 37f157c commit 11a18fd
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
Expand Up @@ -2098,7 +2098,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
Expand Down

0 comments on commit 11a18fd

Please sign in to comment.