diff --git a/src/input_xml.f90 b/src/input_xml.f90 index b8d97cb997..38521960be 100644 --- a/src/input_xml.f90 +++ b/src/input_xml.f90 @@ -110,8 +110,10 @@ contains if (size(survival_) > 0) survival_biasing = .true. ! Cutoffs - weight_cutoff = cutoff_ % weight - weight_survive = cutoff_ % weight_avg + if (size(cutoff_) > 0) then + weight_cutoff = cutoff_(1) % weight + weight_survive = cutoff_(1) % weight_avg + end if end subroutine read_settings_xml diff --git a/src/xml-fortran/templates/settings_t.xml b/src/xml-fortran/templates/settings_t.xml index a61892b15d..3e0bc52c76 100644 --- a/src/xml-fortran/templates/settings_t.xml +++ b/src/xml-fortran/templates/settings_t.xml @@ -28,6 +28,6 @@ - +