aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-03-24 10:42:11 +0000
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-03-24 10:42:11 +0000
commitc6ad2deead4e8f7db743a103200b51cfaf1d8e7f (patch)
tree08fc1e8438f9fbb3d0b3580e37145fd21f2d5598 /Eigen
parent42bc1f77be65ec5557c00d53ce988598c47a0c5f (diff)
Bug fix in linspace_op::packetOp(row,col). Fixes bug #232.
Also, add regression test.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/Functors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Functors.h b/Eigen/src/Core/Functors.h
index ddfc67d82..b1842b146 100644
--- a/Eigen/src/Core/Functors.h
+++ b/Eigen/src/Core/Functors.h
@@ -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