From 836a9836098b0fc79097ae96805b40abf6fc2063 Mon Sep 17 00:00:00 2001 From: samuelshaner Date: Wed, 5 Jul 2017 09:05:23 -0400 Subject: [PATCH] fixed typo in library.py --- openmc/data/library.py | 2 +- src/photon_header.F90 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)