mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
Fix duplicate include guard *ALTIVEC_H -> *ZVECTOR_H
Some some header guards were repeated between the `AltiVec` package and the `ZVector` packages. This could cause a problem if (for whatever reason) someone attempts to include headers for both architectures.
This commit is contained in:
parent
22a347b9d2
commit
a4098ac676
@ -8,8 +8,8 @@
|
|||||||
// Public License v. 2.0. If a copy of the MPL was not distributed
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
||||||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
#ifndef EIGEN_COMPLEX32_ALTIVEC_H
|
#ifndef EIGEN_COMPLEX32_ZVECTOR_H
|
||||||
#define EIGEN_COMPLEX32_ALTIVEC_H
|
#define EIGEN_COMPLEX32_ZVECTOR_H
|
||||||
|
|
||||||
#include "../../InternalHeaderCheck.h"
|
#include "../../InternalHeaderCheck.h"
|
||||||
|
|
||||||
@ -425,4 +425,4 @@ template<> EIGEN_STRONG_INLINE Packet2cf pblend(const Selector<2>& ifPacket, con
|
|||||||
|
|
||||||
} // end namespace Eigen
|
} // end namespace Eigen
|
||||||
|
|
||||||
#endif // EIGEN_COMPLEX32_ALTIVEC_H
|
#endif // EIGEN_COMPLEX32_ZVECTOR_H
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
* Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/
|
* Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef EIGEN_MATH_FUNCTIONS_ALTIVEC_H
|
#ifndef EIGEN_MATH_FUNCTIONS_ZVECTOR_H
|
||||||
#define EIGEN_MATH_FUNCTIONS_ALTIVEC_H
|
#define EIGEN_MATH_FUNCTIONS_ZVECTOR_H
|
||||||
|
|
||||||
#include "../../InternalHeaderCheck.h"
|
#include "../../InternalHeaderCheck.h"
|
||||||
|
|
||||||
@ -232,4 +232,4 @@ ptanh<Packet4f>(const Packet4f& x) {
|
|||||||
|
|
||||||
} // end namespace Eigen
|
} // end namespace Eigen
|
||||||
|
|
||||||
#endif // EIGEN_MATH_FUNCTIONS_ALTIVEC_H
|
#endif // EIGEN_MATH_FUNCTIONS_ZVECTOR_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user