Change name of copied macro base

This commit is contained in:
metric-space 2022-02-12 02:59:04 -05:00 committed by Saurabh
parent c47e31f6ea
commit c287a169af
2 changed files with 6 additions and 6 deletions

View File

@ -343,7 +343,7 @@ pub trait GeneralizedEigenScalar: Scalar {
) -> i32; ) -> i32;
} }
macro_rules! real_eigensystem_scalar_impl ( macro_rules! generalized_eigen_scalar_impl (
($N: ty, $xggev: path) => ( ($N: ty, $xggev: path) => (
impl GeneralizedEigenScalar for $N { impl GeneralizedEigenScalar for $N {
#[inline] #[inline]
@ -395,5 +395,5 @@ macro_rules! real_eigensystem_scalar_impl (
) )
); );
real_eigensystem_scalar_impl!(f32, lapack::sggev); generalized_eigen_scalar_impl!(f32, lapack::sggev);
real_eigensystem_scalar_impl!(f64, lapack::dggev); generalized_eigen_scalar_impl!(f64, lapack::dggev);

View File

@ -257,7 +257,7 @@ pub trait QZScalar: Scalar {
) -> i32; ) -> i32;
} }
macro_rules! real_eigensystem_scalar_impl ( macro_rules! qz_scalar_impl (
($N: ty, $xgges: path) => ( ($N: ty, $xgges: path) => (
impl QZScalar for $N { impl QZScalar for $N {
#[inline] #[inline]
@ -317,5 +317,5 @@ macro_rules! real_eigensystem_scalar_impl (
) )
); );
real_eigensystem_scalar_impl!(f32, lapack::sgges); qz_scalar_impl!(f32, lapack::sgges);
real_eigensystem_scalar_impl!(f64, lapack::dgges); qz_scalar_impl!(f64, lapack::dgges);