From fe569b060c367d34c83624061fff407738609402 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 13 Mar 2008 20:36:01 +0000 Subject: get rid of MatrixRef, simplifications. --- doc/examples/class_CwiseBinaryOp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/class_CwiseBinaryOp.cpp') diff --git a/doc/examples/class_CwiseBinaryOp.cpp b/doc/examples/class_CwiseBinaryOp.cpp index ae634a041..8e4c5361e 100644 --- a/doc/examples/class_CwiseBinaryOp.cpp +++ b/doc/examples/class_CwiseBinaryOp.cpp @@ -13,7 +13,7 @@ template const Eigen::CwiseBinaryOp cwiseMin(const MatrixBase &mat1, const MatrixBase &mat2) { - return Eigen::CwiseBinaryOp(mat1.asArg(), mat2.asArg()); + return Eigen::CwiseBinaryOp(mat1, mat2); } int main(int, char**) -- cgit v1.2.3