summaryrefslogblamecommitdiff
path: root/user/eigen/prototype.patch
blob: d1205b7dd82fb04ca0765cdf81493830e5e9416e (plain) (tree)





















                                                                                                              
From fc10b565bf15aa3438d3586e759ea88a8091411d Mon Sep 17 00:00:00 2001
From: Gael Guennebaud <g.gael@free.fr>
Date: Fri, 8 Jun 2018 09:56:01 +0200
Subject: [PATCH] fix prototype

---
 unsupported/Eigen/src/IterativeSolvers/DGMRES.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h
index f40b80eda..be039e07f 100644
--- a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h
+++ b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h
@@ -173,7 +173,7 @@ class DGMRES : public IterativeSolverBase<DGMRES<_MatrixType,_Preconditioner> >
   /** 
    * Set the restart value (default is 30)  
    */
-  Index set_restart(const Index restart) { m_restart=restart; }
+  void set_restart(const Index restart) { m_restart=restart; }
   
   /** 
    * Set the number of eigenvalues to deflate at each restart