mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Make Source::sample() method const
This commit is contained in:
parent
b271399f63
commit
9af5541e88
7 changed files with 12 additions and 12 deletions
|
|
@ -31,7 +31,7 @@ class RingSource : public openmc::Source {
|
|||
}
|
||||
|
||||
// Samples from an instance of this class.
|
||||
openmc::Particle::Bank sample(uint64_t* seed)
|
||||
openmc::Particle::Bank sample(uint64_t* seed) const
|
||||
{
|
||||
openmc::Particle::Bank particle;
|
||||
// wgt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue