@@ -558,7 +558,7 @@ macro_rules! impl_state {
558558 /// -------
559559 /// numpy.ndarray
560560 fn ln_phi<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray1 <f64 >> {
561- self . 0 . ln_phi( ) . into_pyarray_bound ( py)
561+ self . 0 . ln_phi( ) . into_pyarray ( py)
562562 }
563563
564564 /// Return logarithmic fugacity coefficient of all components treated as
@@ -568,7 +568,7 @@ macro_rules! impl_state {
568568 /// -------
569569 /// numpy.ndarray
570570 fn ln_phi_pure_liquid<' py>( & self , py: Python <' py>) -> PyResult <Bound <' py, PyArray1 <f64 >>> {
571- Ok ( self . 0 . ln_phi_pure_liquid( ) ?. into_pyarray_bound ( py) )
571+ Ok ( self . 0 . ln_phi_pure_liquid( ) ?. into_pyarray ( py) )
572572 }
573573
574574 /// Return logarithmic symmetric activity coefficient.
@@ -577,7 +577,7 @@ macro_rules! impl_state {
577577 /// -------
578578 /// numpy.ndarray
579579 fn ln_symmetric_activity_coefficient<' py>( & self , py: Python <' py>) -> PyResult <Bound <' py, PyArray1 <f64 >>> {
580- Ok ( self . 0 . ln_symmetric_activity_coefficient( ) ?. into_pyarray_bound ( py) )
580+ Ok ( self . 0 . ln_symmetric_activity_coefficient( ) ?. into_pyarray ( py) )
581581 }
582582
583583 /// Return Henry's law constant of every solute (x_i=0) for a given solvent (x_i>0).
@@ -650,7 +650,7 @@ macro_rules! impl_state {
650650 /// -------
651651 /// numpy.ndarray
652652 fn thermodynamic_factor<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray2 <f64 >> {
653- self . 0 . thermodynamic_factor( ) . into_pyarray_bound ( py)
653+ self . 0 . thermodynamic_factor( ) . into_pyarray ( py)
654654 }
655655
656656 /// Return molar isochoric heat capacity.
@@ -1021,7 +1021,7 @@ macro_rules! impl_state {
10211021 /// -------
10221022 /// numpy.ndarray[Float64]
10231023 fn massfracs<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray1 <f64 >> {
1024- self . 0 . massfracs( ) . into_pyarray_bound ( py)
1024+ self . 0 . massfracs( ) . into_pyarray ( py)
10251025 }
10261026
10271027 /// Return mass specific Helmholtz energy.
@@ -1168,7 +1168,7 @@ macro_rules! impl_state {
11681168
11691169 #[ getter]
11701170 fn get_molefracs<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray1 <f64 >> {
1171- self . 0 . molefracs. to_pyarray_bound ( py)
1171+ self . 0 . molefracs. to_pyarray ( py)
11721172 }
11731173
11741174 fn _repr_markdown_( & self ) -> String {
@@ -1318,7 +1318,7 @@ macro_rules! impl_state {
13181318
13191319 #[ getter]
13201320 fn get_compressibility<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray1 <f64 >> {
1321- StateVec :: from( self ) . compressibility( ) . into_pyarray_bound ( py)
1321+ StateVec :: from( self ) . compressibility( ) . into_pyarray ( py)
13221322 }
13231323
13241324 #[ getter]
@@ -1333,7 +1333,7 @@ macro_rules! impl_state {
13331333
13341334 #[ getter]
13351335 fn get_molefracs<' py>( & self , py: Python <' py>) -> Bound <' py, PyArray2 <f64 >> {
1336- StateVec :: from( self ) . molefracs( ) . into_pyarray_bound ( py)
1336+ StateVec :: from( self ) . molefracs( ) . into_pyarray ( py)
13371337 }
13381338
13391339 #[ getter]
@@ -1343,7 +1343,7 @@ macro_rules! impl_state {
13431343
13441344 #[ getter]
13451345 fn get_massfracs<' py>( & self , py: Python <' py>) -> Option <Bound <' py, PyArray2 <f64 >>> {
1346- self . 0 [ 0 ] . eos. residual. has_molar_weight( ) . then( || StateVec :: from( self ) . massfracs( ) . into_pyarray_bound ( py) )
1346+ self . 0 [ 0 ] . eos. residual. has_molar_weight( ) . then( || StateVec :: from( self ) . massfracs( ) . into_pyarray ( py) )
13471347 }
13481348
13491349 /// Returns selected properties of a StateVec as dictionary.
0 commit comments