From 43ae900e7cf6b8c75a94f075c433c285176ef035 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 1 Feb 2013 14:51:02 -0500 Subject: [PATCH] Change to accept true or false. --- docs/source/usersguide/input.rst | 6 +++--- src/input_xml.F90 | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/source/usersguide/input.rst b/docs/source/usersguide/input.rst index e2df231fb4..f9e5cb3f07 100644 --- a/docs/source/usersguide/input.rst +++ b/docs/source/usersguide/input.rst @@ -62,7 +62,7 @@ settings.xml file. ---------------------------------- The ```` element has no attributes and has an accepted -value of "true" or "flase". If set to "true", uncertainties on tally results +value of "true" or "false". If set to "true", uncertainties on tally results will be reported as the half-width of the 95% two-sided confidence interval. If set to "false", uncertainties on tally results will be reported as the sample standard deviation. @@ -876,12 +876,12 @@ In cases where the user needs to specify many different tallies each of which are spatially separate, this tag can be used to cut down on some of the tally overhead. The effect of assuming all tallies are spatially separate is that once one tally is scored to, the same event is assumed not to score to any other -tallies. This element should be followed by "yes" or "no" +tallies. This element should be followed by "true" or "false" .. warning:: If used incorrectly, the assumption that all tallies are spatially separate can lead to incorrect results. - *Default*: no + *Default*: false -------------------------------------------- Geometry Plotting Specification -- plots.xml diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 6d3775363b..2d2482ba91 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -1296,7 +1296,8 @@ contains end if ! Check for setting - if (separate_ == 'yes') assume_separate = .true. + call lower_case(separate_) + if (separate_ == 'true' .or. separate_ == '1') assume_separate = .true. ! ========================================================================== ! READ MESH DATA