Skip to content

Commit a10558b

Browse files
committed
This function definition need not be separate
This function definition does not need to be separated.
1 parent fdf0468 commit a10558b

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

lib/sapporo_light/sapporoG6lib.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ extern "C" {
4949
return grav.calc_lasthalf2(*cluster_id, *nj, *ni,
5050
index, xi, vi, *eps2, h2, acc, jerk, pot, inn);
5151
}
52+
int g6_get_nj_max_() {
53+
return grav.get_nj_max();
54+
}
5255

5356
int g6_initialize_jp_buffer_(int* cluster_id, int* buf_size) {return 0;}
5457
int g6_flush_jp_buffer_(int* cluster_id) {return 0;}
@@ -80,10 +83,3 @@ extern "C" {
8083

8184

8285
}
83-
84-
extern "C" {
85-
int g6_get_nj_max_() {
86-
return grav.get_nj_max();
87-
}
88-
}
89-

0 commit comments

Comments
 (0)