mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Initial fixes for bug #85.
Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const.
Changed boolean type 'ret' member to 'value'.
Changed 'ret' members refering to types to 'type'.
Adapted all code occurences.
This commit is contained in:
@@ -123,9 +123,9 @@ template<typename VectorsType, typename CoeffsType, int Side> class HouseholderS
|
||||
|
||||
typedef HouseholderSequence<
|
||||
VectorsType,
|
||||
typename internal::meta_if<NumTraits<Scalar>::IsComplex,
|
||||
typename internal::conditional<NumTraits<Scalar>::IsComplex,
|
||||
typename internal::cleantype<typename CoeffsType::ConjugateReturnType>::type,
|
||||
CoeffsType>::ret,
|
||||
CoeffsType>::type,
|
||||
Side
|
||||
> ConjugateReturnType;
|
||||
|
||||
@@ -167,7 +167,7 @@ template<typename VectorsType, typename CoeffsType, int Side> class HouseholderS
|
||||
// FIXME find a way to pass this temporary if the user want to
|
||||
Matrix<Scalar, DestType::RowsAtCompileTime, 1,
|
||||
AutoAlign|ColMajor, DestType::MaxRowsAtCompileTime, 1> temp(rows());
|
||||
if( internal::is_same_type<typename internal::cleantype<VectorsType>::type,DestType>::ret
|
||||
if( internal::is_same<typename internal::cleantype<VectorsType>::type,DestType>::value
|
||||
&& internal::extract_data(dst) == internal::extract_data(m_vectors))
|
||||
{
|
||||
// in-place
|
||||
|
||||
Reference in New Issue
Block a user