File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
pub mod opnorm;
3
+ pub use self :: opnorm:: * ;
4
+
5
+ pub trait LapackScalar : OperatorNorm_ { }
6
+ impl < A > LapackScalar for A where A : OperatorNorm_ { }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pub enum NormType {
12
12
Frobenius = b'f' ,
13
13
}
14
14
15
- pub trait OperatorNorm : Sized {
15
+ pub trait OperatorNorm_ : Sized {
16
16
type Output ;
17
17
18
18
fn opnorm ( NormType , Layout , & [ Self ] ) -> Self :: Output ;
@@ -32,7 +32,7 @@ pub trait OperatorNorm: Sized {
32
32
33
33
macro_rules! impl_opnorm {
34
34
( $scalar: ty, $output: ty, $lange: path) => {
35
- impl OperatorNorm for $scalar {
35
+ impl OperatorNorm_ for $scalar {
36
36
type Output = $output;
37
37
fn opnorm( t: NormType , l: Layout , a: & [ Self ] ) -> Self :: Output {
38
38
let ( m, n) = l. ffi_size( ) ;
You can’t perform that action at this time.
0 commit comments