diff --git a/openmc/data/library.py b/openmc/data/library.py index 5522bdc632..baf8f6ae0b 100644 --- a/openmc/data/library.py +++ b/openmc/data/library.py @@ -71,7 +71,7 @@ class DataLibrary(EqualityMixin): path : str Path to file to write. Defaults to 'cross_sections.xml'. append : bool - Whether to append to an existing file, it if exists. + Whether to append to an existing file, if it exists. Defaults to False. """ diff --git a/src/photon_header.F90 b/src/photon_header.F90 index 2588f09488..a5cdd9791b 100644 --- a/src/photon_header.F90 +++ b/src/photon_header.F90 @@ -209,7 +209,6 @@ contains this % shells(i) % transition_subshells(:,:) = int(matrix(1:2, :), 4) this % shells(i) % transition_energy(:) = matrix(3, :) this % shells(i) % transition_probability(:) = matrix(4, :) - deallocate(matrix) end if call close_dataset(dset_id)