File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,22 +54,22 @@ macro_rules! impl_rcond_complex {
5454 let ( n, _) = l. size( ) ;
5555 let mut rcond = Self :: Real :: zero( ) ;
5656 let mut info = 0 ;
57- let mut work = unsafe { vec_uninit( 2 * n as usize ) } ;
58- let mut rwork = unsafe { vec_uninit( 2 * n as usize ) } ;
57+ let mut work: Vec < Self > = unsafe { vec_uninit( 2 * n as usize ) } ;
58+ let mut rwork: Vec < Self :: Real > = unsafe { vec_uninit( 2 * n as usize ) } ;
5959 let norm_type = match l {
6060 MatrixLayout :: C { .. } => NormType :: Infinity ,
6161 MatrixLayout :: F { .. } => NormType :: One ,
62- } as u8 ;
62+ } ;
6363 unsafe {
6464 $gecon(
65- norm_type,
66- n,
67- a ,
68- l. lda( ) ,
69- anorm,
65+ norm_type. as_ptr ( ) ,
66+ & n,
67+ AsPtr :: as_ptr ( a ) ,
68+ & l. lda( ) ,
69+ & anorm,
7070 & mut rcond,
71- & mut work,
72- & mut rwork,
71+ AsPtr :: as_mut_ptr ( & mut work) ,
72+ AsPtr :: as_mut_ptr ( & mut rwork) ,
7373 & mut info,
7474 )
7575 } ;
@@ -81,5 +81,5 @@ macro_rules! impl_rcond_complex {
8181 } ;
8282}
8383
84- impl_rcond_complex ! ( c32, lapack :: cgecon ) ;
85- impl_rcond_complex ! ( c64, lapack :: zgecon ) ;
84+ impl_rcond_complex ! ( c32, lapack_sys :: cgecon_ ) ;
85+ impl_rcond_complex ! ( c64, lapack_sys :: zgecon_ ) ;
You can’t perform that action at this time.
0 commit comments