File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments