From f3dbc24964439974a01994511af2d4184e95b287 Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Tue, 18 Feb 2020 09:22:09 +0000 Subject: [PATCH] updated test signature --- tests/regression_tests/source_dlopen/source_sampling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression_tests/source_dlopen/source_sampling.cpp b/tests/regression_tests/source_dlopen/source_sampling.cpp index 4b13c7db92..eaf8b74d92 100644 --- a/tests/regression_tests/source_dlopen/source_sampling.cpp +++ b/tests/regression_tests/source_dlopen/source_sampling.cpp @@ -5,7 +5,7 @@ // you must have external C linkage here otherwise // dlopen will not find the file -extern "C" openmc::Particle::Bank sample_source() { +extern "C" openmc::Particle::Bank sample_source(uint64_t *seed) { openmc::Particle::Bank particle; // wgt particle.particle = openmc::Particle::Type::neutron; @@ -16,7 +16,7 @@ extern "C" openmc::Particle::Bank sample_source() { particle.r.y = 0.; particle.r.z = 0.; // angle - particle.u = {1.,0,0}; + particle.u = {1.0, 0.0, 0.0}; particle.E = 14.08e6; particle.delayed_group = 0; return particle;