Fixed bug when not specifying verbosity in settings.xml.

This commit is contained in:
Paul Romano 2011-11-04 13:14:32 -04:00
parent 12a1288a0c
commit d3c5c26dd4
2 changed files with 4 additions and 3 deletions

View file

@ -157,7 +157,7 @@ module global
! The verbosity controls how much information will be printed to the
! screen and in logs
integer :: verbosity = 5
integer :: verbosity = 7
contains

View file

@ -62,8 +62,9 @@ contains
call fatal_error()
end if
! Initialize path for cross_sections.xml
! Initialize XML scalar variables
cross_sections_ = ""
verbosity_ = 0
! Parse settings.xml file
call read_xml_file_settings_t(filename)
@ -97,7 +98,7 @@ contains
end if
! Verbosity
verbosity = verbosity_
if (verbosity_ > 0) verbosity = verbosity_
if (associated(source_ % coeffs)) then
! Determine external source type