mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Remove unnecessary variable in src/source.cpp
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
c5aee746e8
commit
d355347e8e
1 changed files with 1 additions and 2 deletions
|
|
@ -385,8 +385,7 @@ void close_custom_source_library()
|
|||
//Sample source particle from custom library
|
||||
Particle::Bank sample_custom_source_library(uint64_t* seed)
|
||||
{
|
||||
Particle::Bank site = model::sample_source(*seed);
|
||||
return site;
|
||||
return model::sample_source(*seed);
|
||||
}
|
||||
|
||||
// fill the source bank from the external source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue