From 0e2eee36189dbb7bdace2f9293648e249e7936f0 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sun, 22 Dec 2024 21:45:33 +0100 Subject: [PATCH] keep ifdef parallel --- libsrc/interface/nginterface_v2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/interface/nginterface_v2.cpp b/libsrc/interface/nginterface_v2.cpp index f26971c5..9233c5a7 100644 --- a/libsrc/interface/nginterface_v2.cpp +++ b/libsrc/interface/nginterface_v2.cpp @@ -1361,7 +1361,7 @@ size_t Ngx_Mesh :: GetGlobalVertexNum (int locnum) const FlatArray Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const { - // #ifdef PARALLEL +#ifdef PARALLEL if (mesh->GetCommunicator().Size() == 1) return FlatArray(0,nullptr); @@ -1379,9 +1379,9 @@ FlatArray Ngx_Mesh :: GetDistantProcs (int nodetype, int locnum) const default: return FlatArray(0, nullptr); } - // #else - // return FlatArray(0,nullptr); - // #endif +#else + return FlatArray(0,nullptr); +#endif } }