mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Tally.get_writable() -> Tally.writable()
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
801f18b357
commit
484bf70c86
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ public:
|
|||
|
||||
int32_t n_filter_bins() const {return n_filter_bins_;}
|
||||
|
||||
bool get_writable() const { return writable_;}
|
||||
bool writable() const { return writable_;}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// Other methods.
|
||||
|
|
|
|||
|
|
@ -1227,7 +1227,7 @@ openmc_tally_get_writable(int32_t index, bool* writable)
|
|||
set_errmsg("Index in tallies array is out of bounds.");
|
||||
return OPENMC_E_OUT_OF_BOUNDS;
|
||||
}
|
||||
*writable = model::tallies[index]->get_writable();
|
||||
*writable = model::tallies[index]->writable();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue