diff --git a/include/openmc/capi.h b/include/openmc/capi.h index e04d4898e7..29e9009655 100644 --- a/include/openmc/capi.h +++ b/include/openmc/capi.h @@ -118,7 +118,7 @@ int openmc_regular_mesh_get_params( int openmc_regular_mesh_set_dimension(int32_t index, int n, const int* dims); int openmc_regular_mesh_set_params(int32_t index, int n, const double* ll, const double* ur, const double* width); -int openmc_remove_tally(int32_t id); +int openmc_remove_tally(int32_t index); int openmc_reset(); int openmc_reset_timers(); int openmc_run(); diff --git a/openmc/lib/tally.py b/openmc/lib/tally.py index c1c8ab0941..0be2f9ed50 100644 --- a/openmc/lib/tally.py +++ b/openmc/lib/tally.py @@ -402,7 +402,7 @@ class _TallyMapping(Mapping): def __repr__(self): return repr(dict(self)) - def __delitem__(self,key): + def __delitem__(self, key): """Delete a tally from tally vector and remove the ID,index pair from tally""" _dll.openmc_remove_tally(self._get_tally_index(key))