From cfbefb1408bd0b17b51bed1125959b5943e08003 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 15 Oct 2018 21:43:25 +0000 Subject: user/eigen: fix build of user/step with -Werror=no-return --- user/eigen/prototype.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 user/eigen/prototype.patch (limited to 'user/eigen/prototype.patch') diff --git a/user/eigen/prototype.patch b/user/eigen/prototype.patch new file mode 100644 index 000000000..d1205b7dd --- /dev/null +++ b/user/eigen/prototype.patch @@ -0,0 +1,22 @@ +From fc10b565bf15aa3438d3586e759ea88a8091411d Mon Sep 17 00:00:00 2001 +From: Gael Guennebaud +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 > + /** + * 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 -- cgit v1.2.3-70-g09d2