Skip to content

Commit

Permalink
Make mk_displ static.
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc committed Nov 20, 2024
1 parent 1a76680 commit 4d24369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrnpython/nrnpy_p2h.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ std::vector<char> call_picklef(const std::vector<char>& fname, int narg) {

#include "nrnmpi.h"

std::vector<int> mk_displ(int* cnts) {
static std::vector<int> mk_displ(int* cnts) {
std::vector<int> displ(nrnmpi_numprocs + 1);
displ[0] = 0;
for (int i = 0; i < nrnmpi_numprocs; ++i) {
Expand Down

0 comments on commit 4d24369

Please sign in to comment.