From 861c6f4c9b4ceff1ad734e22f4615b260b1d9c45 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 4 Mar 2008 17:08:23 +0000 Subject: renaming: ref() --> asArg() --- 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 2a0f11a75..9bb10cdcb 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.ref(), mat2.ref()); + return Eigen::CwiseBinaryOp(mat1.asArg(), mat2.asArg()); // Note that the above is equivalent to: // return mat1.template cwise(mat2); } -- cgit v1.2.3