Skip to content

Commit 8895fdf

Browse files
committed
fix wheels
1 parent 0c92719 commit 8895fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feos-core/src/python/parameter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ macro_rules! impl_parameter {
590590
})
591591
.transpose()?
592592
.flatten();
593-
Ok(Self(Arc::new(Parameter::from_records(prs, binary_records))))
593+
Ok(Self(Arc::new(Parameter::from_records(prs, binary_records)?)))
594594
}
595595

596596
/// Creates parameters for a pure component from a pure record.
@@ -646,7 +646,7 @@ macro_rules! impl_parameter {
646646
#[staticmethod]
647647
fn from_model_records(model_records: Vec<$py_model_record>) -> PyResult<Self> {
648648
let mrs = model_records.into_iter().map(|mr| mr.0).collect();
649-
Ok(Self(Arc::new(<$parameter>::from_model_records(mrs))))
649+
Ok(Self(Arc::new(<$parameter>::from_model_records(mrs)?)))
650650
}
651651

652652
/// Creates parameters from json files.

0 commit comments

Comments
 (0)