From a603bb7c7f6cd00fb0e7a843eebb5fdfee73ff9b Mon Sep 17 00:00:00 2001
From: "Mulas, Giacomo" <gmulas@oa-cagliari.inaf.it>
Date: Fri, 17 May 2024 13:56:17 +0200
Subject: [PATCH] put the preprocessor checks for logger entries of different
 matrix-inversion options in the correct order

---
 src/cluster/cluster.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cluster/cluster.cpp b/src/cluster/cluster.cpp
index ca17674e..8c479056 100644
--- a/src/cluster/cluster.cpp
+++ b/src/cluster/cluster.cpp
@@ -191,10 +191,10 @@ void cluster(const string& config_file, const string& data_file, const string& o
       string tppoan_name = output_path + "/c_TPPOAN";
       tppoan.open(tppoan_name.c_str(), ios::out | ios::binary);
       if (tppoan.is_open()) {
-#ifdef USE_LAPACK
-	logger->log("INFO: using LAPACK calls.\n", LOG_INFO);
-#elif defined USE_MAGMA
+#ifdef USE_MAGMA
 	logger->log("INFO: using MAGMA calls.\n", LOG_INFO);
+#elif defined USE_LAPACK
+	logger->log("INFO: using LAPACK calls.\n", LOG_INFO);
 #else
 	logger->log("INFO: using fall-back lucin() calls.\n", LOG_INFO);
 #endif
-- 
GitLab