From e75aa44522f497ca9f696d13370dbb062c19cb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicente=20Mataix=20Ferr=C3=A1ndiz?= Date: Tue, 17 Dec 2024 00:39:08 +0100 Subject: [PATCH] Missing check --- .../LinearSolversApplication/linear_solvers_application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/LinearSolversApplication/linear_solvers_application.cpp b/applications/LinearSolversApplication/linear_solvers_application.cpp index e4220a27276..b033feb3d82 100644 --- a/applications/LinearSolversApplication/linear_solvers_application.cpp +++ b/applications/LinearSolversApplication/linear_solvers_application.cpp @@ -46,7 +46,9 @@ void KratosLinearSolversApplication::Register() << "Initializing KratosLinearSolversApplication..." << std::endl; // Adding the eigen library to the list of registered libraries - Registry::AddItem("libraries.eigen"); + if (!Registry::HasItem("libraries.eigen")) { + Registry::AddItem("libraries.eigen"); + } #if defined USE_EIGEN_MKL MKLVersion mkl_version;