36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 58046aee2ab5d53092811e77ae9b17a226aadf90 Mon Sep 17 00:00:00 2001
|
|
From: Renjith Ravindran <Renjith.RavindranKannath@amd.com>
|
|
Date: Mon, 8 Aug 2022 22:52:43 +0000
|
|
Subject: [PATCH] Fix for compilation failure in rocalution 5.2.0
|
|
|
|
---
|
|
src/solvers/multigrid/ruge_stueben_amg.hpp | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/solvers/multigrid/ruge_stueben_amg.hpp b/src/solvers/multigrid/ruge_stueben_amg.hpp
|
|
index 24ee942..7f25796 100644
|
|
--- a/src/solvers/multigrid/ruge_stueben_amg.hpp
|
|
+++ b/src/solvers/multigrid/ruge_stueben_amg.hpp
|
|
@@ -58,14 +58,16 @@ namespace rocalution
|
|
ROCALUTION_EXPORT
|
|
virtual void Print(void) const;
|
|
|
|
+#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
|
|
/** \brief Set coupling strength */
|
|
ROCALUTION_EXPORT
|
|
-#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
|
|
+ void SetCouplingStrength(ValueType eps);
|
|
#else
|
|
[[deprecated("This function will be removed in a future release. Use "
|
|
"SetStrengthThreshold() instead")]]
|
|
-#endif
|
|
+ ROCALUTION_EXPORT
|
|
void SetCouplingStrength(ValueType eps);
|
|
+#endif
|
|
|
|
/** \brief Set strength threshold */
|
|
ROCALUTION_EXPORT
|
|
--
|
|
2.25.1
|
|
|