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"]
1919netlib-shared = [" lapack/netlib" ]
2020netlib-static = [" lapack/netlib" , " netlib-src/static" ]
2121netlib-system = [" lapack/netlib" , " netlib-src/system" ]
22- intel-mkl = [" lapack/intel-mkl " , " intel-mkl-src" ]
22+ intel-mkl = [" intel-mkl-src" ]
2323
2424[dependencies ]
2525rand = " 0.3"
2626derive-new = " 0.4"
2727procedurals = " 0.2"
2828num-traits = " 0.1"
2929num-complex = " 0.1"
30+ lapack = { version = " 0.13" , default-features = false }
31+ lapack-sys = { version = " 0.11" , default-features = false }
3032
3133[dependencies .ndarray ]
3234version = " 0.10"
3335default-features = false
34- features = [" blas" ]
35-
36- [dependencies .lapack ]
37- git = " http://github.com/termoshtt/lapack"
38- branch = " intel-mkl"
39- default-features = false
4036
4137[dependencies .openblas-src ]
4238version = " 0.5.3"
Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ where
116116 if self . is_square ( ) {
117117 Ok ( ( ) )
118118 } 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+ )
120122 }
121123 }
122124
Original file line number Diff line number Diff line change 1818//! - [Scalar trait](types/trait.Scalar.html)
1919
2020extern crate lapack;
21+ extern crate lapack_sys;
2122extern crate num_traits;
2223extern crate num_complex;
2324extern crate rand;
@@ -28,6 +29,9 @@ extern crate procedurals;
2829#[ macro_use]
2930extern crate derive_new;
3031
32+ #[ cfg( feature = "intel-mkl" ) ]
33+ extern crate intel_mkl_src;
34+
3135pub mod assert;
3236pub mod cholesky;
3337pub mod convert;
You can’t perform that action at this time.
0 commit comments