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 21, 2024
1 parent 69b96b9 commit f7d48ff
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 @@ -650,7 +650,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 f7d48ff

Please sign in to comment.