diff --git a/src/input_xml.F90 b/src/input_xml.F90 index 46461b78da..1869b9709d 100644 --- a/src/input_xml.F90 +++ b/src/input_xml.F90 @@ -1644,8 +1644,8 @@ contains ! Check to make sure either all atom percents or all weight percents are ! given - if (.not. (all(mat % atom_density > ZERO) .or. & - all(mat % atom_density < ZERO))) then + if (.not. (all(mat % atom_density >= ZERO) .or. & + all(mat % atom_density <= ZERO))) then message = "Cannot mix atom and weight percents in material " // & to_str(mat % id) call fatal_error()