Addressing some more PR comments. A couple of typo fixes too.

This commit is contained in:
Patrick Shriwise 2022-11-26 00:46:12 -06:00
parent 6f7a6febd3
commit 5d1ead2e6a
8 changed files with 7 additions and 16 deletions

View file

@ -359,11 +359,7 @@ bool read_model_xml() {
fmt::format("No <materials> node present in the {} file.", xml_filename));
}
// find materials node this object cannot be used after being passed to the
// cross section reading function below
auto materials_node = root.child("materials");
read_cross_sections_xml(materials_node);
read_cross_sections_xml(root.child("materials"));
read_materials_xml(root.child("materials"));
// Read geometry