Tally.get_writable() -> Tally.writable()

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Andrew Johnson 2019-09-30 18:55:42 -04:00 committed by GitHub
parent 801f18b357
commit 484bf70c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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;
}