mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
rename build stages to multiples of 10; old stage 2 becomes stage 15, while stage 20 generates errors (instead of warnings) on conflicting API.
This commit is contained in:
@@ -81,19 +81,19 @@ MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const
|
||||
|
||||
eigen_assert(size() == other.size());
|
||||
|
||||
#if EIGEN2_SUPPORT_STAGE >= STAGE3_FULL_EIGEN3_API
|
||||
#if EIGEN2_SUPPORT_STAGE >= STAGE30_FULL_EIGEN3_API
|
||||
return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);
|
||||
#else
|
||||
return internal::dot_nocheck<OtherDerived,Derived>::run(other,*this);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if EIGEN2_SUPPORT_STAGE <= STAGE3_FULL_EIGEN3_API
|
||||
#if EIGEN2_SUPPORT_STAGE <= STAGE30_FULL_EIGEN3_API
|
||||
/** \returns the dot product of *this with other, with the Eigen2 convention that the dot product is linear in the first variable
|
||||
* (conjugating the second variable). Of course this only makes a difference in the complex case.
|
||||
*
|
||||
* This method is only available in EIGEN2_SUPPORT mode. With EIGEN2_SUPPORT_STAGE1_FULL_EIGEN2_API and
|
||||
* EIGEN2_SUPPORT_STAGE2_RESOLVE_API_CONFLICTS, the dot() method itself uses it. With EIGEN2_SUPPORT_STAGE3_FULL_EIGEN3_API,
|
||||
* This method is only available in EIGEN2_SUPPORT mode. With EIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API and
|
||||
* EIGEN2_SUPPORT_STAGE20_RESOLVE_API_CONFLICTS, the dot() method itself uses it. With EIGEN2_SUPPORT_STAGE30_FULL_EIGEN3_API,
|
||||
* the dot() method no longer uses it, but it's still available.
|
||||
*
|
||||
* \only_for_vectors
|
||||
|
||||
Reference in New Issue
Block a user