From ef955ea8e5485da102f7252946e8924b956bfbdc Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 11 Jun 2017 15:30:36 +0200 Subject: [PATCH] fix tipo (grafted from 50e09cca0f2312d89ced431b3a6cd7ff7c925d09 ) --- doc/AsciiQuickReference.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/AsciiQuickReference.txt b/doc/AsciiQuickReference.txt index 8409f8850..0ca54cef3 100644 --- a/doc/AsciiQuickReference.txt +++ b/doc/AsciiQuickReference.txt @@ -140,7 +140,7 @@ R.array().abs() // abs(P) R.cwiseAbs2() // abs(P.^2) R.array().abs2() // abs(P.^2) (R.array() < s).select(P,Q ); // (R < s ? P : Q) -R = (Q.array()==0).select(P,A) // R(Q==0) = P(Q==0) +R = (Q.array()==0).select(P,R) // R(Q==0) = P(Q==0) R = P.unaryExpr(ptr_fun(func)) // R = arrayfun(func, P) // with: scalar func(const scalar &x);