Commit 2dc43a3d authored by Frank Siegert's avatar Frank Siegert

Fix OpenLoops library finding.

parent 7a933184
......@@ -81,7 +81,8 @@ void OpenLoops_Interface::RegisterDefaults() const
// find OL installation prefix with several overwrite options
s_olprefix = rpa->gen.Variable("SHERPA_CPP_PATH")+"/Process/OpenLoops";
if(stat(s_olprefix.c_str(), nullptr) != 0)
struct stat st;
if(stat(s_olprefix.c_str(), &st) != 0)
s_olprefix = OPENLOOPS_PREFIX;
s_olprefix = s["OL_PREFIX"].Get<string>();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment