Backport of changeset c6ad2deead

. Fixes bug #232.
This commit is contained in:
Jitse Niesen
2011-03-24 10:45:24 +00:00
parent 1e8b834ceb
commit e53539435d
2 changed files with 4 additions and 5 deletions

View File

@@ -605,7 +605,7 @@ template <typename Scalar, bool RandomAccess> struct linspaced_op
EIGEN_STRONG_INLINE const Packet packetOp(Index row, Index col) const
{
eigen_assert(col==0 || row==0);
return impl(col + row);
return impl.packetOp(col + row);
}
// This proxy object handles the actual required temporaries, the different