Open abussy opened 3 weeks ago
Fixed bug when parsing UPF files without NLCC. When there is no core correction, the default json behavior is to allocate an array for it filled with zeros. So far, the pugixml parser gave a size zero vector, leading to a crash. This PR fixes it.
json
pugixml
cscs-ci run default
Fixed bug when parsing UPF files without NLCC. When there is no core correction, the default
json
behavior is to allocate an array for it filled with zeros. So far, thepugixml
parser gave a size zero vector, leading to a crash. This PR fixes it.