From e52f11700f70b719fbc0c2df76dac36fde5af410 Mon Sep 17 00:00:00 2001 From: metric-space Date: Sat, 12 Feb 2022 02:59:04 -0500 Subject: [PATCH] Change name of copied macro base --- nalgebra-lapack/src/generalized_eigenvalues.rs | 6 +++--- nalgebra-lapack/src/qz.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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);