diff --git a/nalgebra-lapack/src/generalized_eigenvalues.rs b/nalgebra-lapack/src/generalized_eigenvalues.rs index ff58abe4..aede9e07 100644 --- a/nalgebra-lapack/src/generalized_eigenvalues.rs +++ b/nalgebra-lapack/src/generalized_eigenvalues.rs @@ -343,7 +343,7 @@ pub trait GeneralizedEigenScalar: Scalar { ) -> i32; } -macro_rules! real_eigensystem_scalar_impl ( +macro_rules! generalized_eigen_scalar_impl ( ($N: ty, $xggev: path) => ( impl GeneralizedEigenScalar for $N { #[inline] @@ -395,5 +395,5 @@ macro_rules! real_eigensystem_scalar_impl ( ) ); -real_eigensystem_scalar_impl!(f32, lapack::sggev); -real_eigensystem_scalar_impl!(f64, lapack::dggev); +generalized_eigen_scalar_impl!(f32, lapack::sggev); +generalized_eigen_scalar_impl!(f64, lapack::dggev); diff --git a/nalgebra-lapack/src/qz.rs b/nalgebra-lapack/src/qz.rs index c38af508..17342a2e 100644 --- a/nalgebra-lapack/src/qz.rs +++ b/nalgebra-lapack/src/qz.rs @@ -257,7 +257,7 @@ pub trait QZScalar: Scalar { ) -> i32; } -macro_rules! real_eigensystem_scalar_impl ( +macro_rules! qz_scalar_impl ( ($N: ty, $xgges: path) => ( impl QZScalar for $N { #[inline] @@ -317,5 +317,5 @@ macro_rules! real_eigensystem_scalar_impl ( ) ); -real_eigensystem_scalar_impl!(f32, lapack::sgges); -real_eigensystem_scalar_impl!(f64, lapack::dgges); +qz_scalar_impl!(f32, lapack::sgges); +qz_scalar_impl!(f64, lapack::dgges);