File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,20 @@ openblas-system = ["lapack/openblas", "openblas-src/system"]
19
19
netlib-shared = [" lapack/netlib" ]
20
20
netlib-static = [" lapack/netlib" , " netlib-src/static" ]
21
21
netlib-system = [" lapack/netlib" , " netlib-src/system" ]
22
- intel-mkl = [" lapack/intel-mkl " , " intel-mkl-src" ]
22
+ intel-mkl = [" intel-mkl-src" ]
23
23
24
24
[dependencies ]
25
25
rand = " 0.3"
26
26
derive-new = " 0.4"
27
27
procedurals = " 0.2"
28
28
num-traits = " 0.1"
29
29
num-complex = " 0.1"
30
+ lapack = { version = " 0.13" , default-features = false }
31
+ lapack-sys = { version = " 0.11" , default-features = false }
30
32
31
33
[dependencies .ndarray ]
32
34
version = " 0.10"
33
35
default-features = false
34
- features = [" blas" ]
35
-
36
- [dependencies .lapack ]
37
- git = " http://github.com/termoshtt/lapack"
38
- branch = " intel-mkl"
39
- default-features = false
40
36
41
37
[dependencies .openblas-src ]
42
38
version = " 0.5.3"
Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ where
116
116
if self . is_square ( ) {
117
117
Ok ( ( ) )
118
118
} else {
119
- Err ( NotSquareError :: new ( self . rows ( ) as i32 , self . cols ( ) as i32 ) . into ( ) )
119
+ Err (
120
+ NotSquareError :: new ( self . rows ( ) as i32 , self . cols ( ) as i32 ) . into ( ) ,
121
+ )
120
122
}
121
123
}
122
124
Original file line number Diff line number Diff line change 18
18
//! - [Scalar trait](types/trait.Scalar.html)
19
19
20
20
extern crate lapack;
21
+ extern crate lapack_sys;
21
22
extern crate num_traits;
22
23
extern crate num_complex;
23
24
extern crate rand;
@@ -28,6 +29,9 @@ extern crate procedurals;
28
29
#[ macro_use]
29
30
extern crate derive_new;
30
31
32
+ #[ cfg( feature = "intel-mkl" ) ]
33
+ extern crate intel_mkl_src;
34
+
31
35
pub mod assert;
32
36
pub mod cholesky;
33
37
pub mod convert;
You can’t perform that action at this time.
0 commit comments