Skip to content

Commit

Permalink
change dependency to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
prehner committed Jan 8, 2025
1 parent 9767a27 commit 60b7593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,11 @@ categories = ["science"]
num-dual = "0.11"
quantity = { version = "0.10", features = ["num-dual"] }
nalgebra = "0.33"
# feos-core = "0.7"
feos-core = { git = "https://github.com/feos-org/feos" }
feos-core = "0.8"
ndarray = "0.16"

[dev-dependencies]
# feos = { version = "0.7", features = ["pcsaft", "gc_pcsaft"] }
feos = { git = "https://github.com/feos-org/feos", features = [
"pcsaft",
"gc_pcsaft",
] }
feos = { version = "0.8", features = ["pcsaft", "gc_pcsaft"] }
approx = "0.5"

[features]
Expand Down
6 changes: 3 additions & 3 deletions src/core/phase_equilibria.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ mod test {
vle.liquid.pressure().into_reduced(),
vle.vapor.pressure().into_reduced()
);
assert_relative_eq!(rho_l.eps, drho_l, max_relative = 1e-6);
assert_relative_eq!(rho_v.eps, drho_v, max_relative = 1e-6);
assert_relative_eq!(p.eps, dp, max_relative = 1e-6);
assert_relative_eq!(rho_l.eps, drho_l, max_relative = 1e-5);
assert_relative_eq!(rho_v.eps, drho_v, max_relative = 1e-5);
assert_relative_eq!(p.eps, dp, max_relative = 1e-5);
Ok(())
}

Expand Down

0 comments on commit 60b7593

Please sign in to comment.