From f074d43f4b06c4c838a2f8fec323ce86f909ba6a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 14 Jan 2015 22:06:09 +0100 Subject: [PATCH] Fix doc: setConstant does not exist for SparseMatrix. (grafted from cd679f2c475b891b6498ae04ee8fdcd68c1cb589 ) --- doc/SparseQuickReference.dox | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/SparseQuickReference.dox b/doc/SparseQuickReference.dox index 4a33d0cc9..d04ac35c5 100644 --- a/doc/SparseQuickReference.dox +++ b/doc/SparseQuickReference.dox @@ -71,11 +71,10 @@ i.e either row major or column major. The default is column major. Most arithmet Constant or Random Insertion \code -sm1.setZero(); // Set the matrix with zero elements -sm1.setConstant(val); //Replace all the nonzero values with val +sm1.setZero(); \endcode - The matrix sm1 should have been created before ??? +Remove all non-zero coefficients