Mark AlignedBit and EvalBeforeNestingBit with deprecated attribute, and remove the remaining usages of EvalBeforeNestingBit.

This commit is contained in:
Gael Guennebaud
2015-12-30 16:47:49 +01:00
parent 70404e07c2
commit 9900782e88
2 changed files with 4 additions and 11 deletions

View File

@@ -595,14 +595,7 @@ template<typename Derived>
template<typename DenseDerived>
void TriangularBase<Derived>::evalTo(MatrixBase<DenseDerived> &other) const
{
if(internal::traits<Derived>::Flags & EvalBeforeAssigningBit)
{
typename internal::plain_matrix_type<Derived>::type other_evaluated(rows(), cols());
evalToLazy(other_evaluated);
other.derived().swap(other_evaluated);
}
else
evalToLazy(other.derived());
evalToLazy(other.derived());
}
/***************************************************************************