Skip to content

Commit

Permalink
Fix FromSegmentsBinary for Joback (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
prehner authored Aug 22, 2023
1 parent abce022 commit 4b3a0e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions feos-core/src/joback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ impl From<JobackBinaryRecord> for f64 {

impl<T: Copy + ValueInto<f64>> FromSegmentsBinary<T> for JobackBinaryRecord {
fn from_segments_binary(_segments: &[(Self, T, T)]) -> Result<Self, ParameterError> {
Err(ParameterError::IncompatibleParameters(
"No binary interaction parameters implemented for Joback".to_string(),
))
Ok(Self)
}
}

Expand Down

0 comments on commit 4b3a0e5

Please sign in to comment.