IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 71d4c875 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

visibility of rmmard_() in CONEX set to hidden

This remedies a clash of symbols with EPOS, which has its own
implementation of rmmard_(). For some reason, EPOS would still
call the CONEX implementation, though.
parent be326863
No related branches found
No related tags found
1 merge request!572Resolve "Random number generators in modules: linkage, missing symbols, etc."
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
IMPLEMENT_RNG(conex) IMPLEMENT_RNG(conex)
extern "C" void rmmard_(double field[], int const* N, int*) { extern "C" __attribute__((visibility("hidden"))) void rmmard_(double field[],
int const* N, int*) {
for (int i = 0; i < *N; ++i) { field[i] = draw_std_rnd(); } for (int i = 0; i < *N; ++i) { field[i] = draw_std_rnd(); }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment