Skip to content

Commit

Permalink
Missing check
Browse files Browse the repository at this point in the history
  • Loading branch information
loumalouomega authored Dec 16, 2024
1 parent 2ec223e commit e75aa44
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ void KratosLinearSolversApplication::Register()
<< "Initializing KratosLinearSolversApplication..." << std::endl;

// Adding the eigen library to the list of registered libraries
Registry::AddItem<std::string>("libraries.eigen");
if (!Registry::HasItem("libraries.eigen")) {
Registry::AddItem<std::string>("libraries.eigen");
}

#if defined USE_EIGEN_MKL
MKLVersion mkl_version;
Expand Down

0 comments on commit e75aa44

Please sign in to comment.