From 484bf70c86a3f46280fd0bed5a95d8180148d808 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 30 Sep 2019 18:55:42 -0400 Subject: [PATCH] Tally.get_writable() -> Tally.writable() Co-Authored-By: Paul Romano --- include/openmc/tallies/tally.h | 2 +- src/tallies/tally.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openmc/tallies/tally.h b/include/openmc/tallies/tally.h index f411e65603..dc7cd8ce27 100644 --- a/include/openmc/tallies/tally.h +++ b/include/openmc/tallies/tally.h @@ -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. diff --git a/src/tallies/tally.cpp b/src/tallies/tally.cpp index 3e9de83b19..f843874118 100644 --- a/src/tallies/tally.cpp +++ b/src/tallies/tally.cpp @@ -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; }