Skip to content

Commit 32e56e0

Browse files
committed
Rename trait LapackScalar -> Lapack
1 parent dd495ff commit 32e56e0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/lapack_traits/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ use super::types::*;
2323

2424
pub type Pivot = Vec<i32>;
2525

26-
pub trait LapackScalar: OperatorNorm_ + QR_ + SVD_ + Solve_ + Solveh_ + Cholesky_ + Eigh_ + Triangular_ {}
26+
pub trait Lapack: OperatorNorm_ + QR_ + SVD_ + Solve_ + Solveh_ + Cholesky_ + Eigh_ + Triangular_ {}
2727

28-
impl LapackScalar for f32 {}
29-
impl LapackScalar for f64 {}
30-
impl LapackScalar for c32 {}
31-
impl LapackScalar for c64 {}
28+
impl Lapack for f32 {}
29+
impl Lapack for f64 {}
30+
impl Lapack for c32 {}
31+
impl Lapack for c64 {}
3232

3333
pub fn into_result<T>(return_code: i32, val: T) -> Result<T> {
3434
if return_code == 0 {

src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::fmt::Debug;
99
use std::iter::Sum;
1010
use std::ops::Neg;
1111

12-
use super::lapack_traits::LapackScalar;
12+
use super::lapack_traits::Lapack;
1313

1414
pub use num_complex::Complex32 as c32;
1515
pub use num_complex::Complex64 as c64;
@@ -27,7 +27,7 @@ pub use num_complex::Complex64 as c64;
2727
/// - [`randn`](trait.RandNormal.html#tymethod.randn)
2828
///
2929
pub trait Scalar:
30-
LapackScalar
30+
Lapack
3131
+ LinalgScalar
3232
+ AssociatedReal
3333
+ AssociatedComplex

0 commit comments

Comments
 (0)