Skip to content

Commit eba0105

Browse files
committed
remove anon namespace
1 parent 33fd30e commit eba0105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Src/Base/AMReX_Random.H

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ namespace amrex
119119
#endif
120120
}
121121

122-
namespace {
122+
namespace random_util {
123123

124124
AMREX_GPU_DEVICE AMREX_FORCE_INLINE
125125
Real RandomGamma_alpha_ge_1 (Real alpha, Real beta, RandomEngine const& random_engine)
@@ -175,9 +175,9 @@ namespace amrex
175175
if (alpha < 1)
176176
{
177177
Real u = amrex::Random(random_engine);
178-
return RandomGamma_alpha_ge_1(1.0_rt + alpha, beta, random_engine) * std::pow(u, 1.0_rt / alpha);
178+
return amrex::random_util::RandomGamma_alpha_ge_1(1.0_rt + alpha, beta, random_engine) * std::pow(u, 1.0_rt / alpha);
179179
} else {
180-
return RandomGamma_alpha_ge_1(alpha, beta, random_engine);
180+
return amrex::random_util::RandomGamma_alpha_ge_1(alpha, beta, random_engine);
181181
}
182182
))
183183

0 commit comments

Comments
 (0)