Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert numpy arrays to ASCII strings #956

Merged
merged 11 commits into from
Oct 31, 2023
2 changes: 1 addition & 1 deletion src/outputs/parthenon_hdf5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ HDF5GetAttributeInfo(hid_t location, const std::string &name, H5A &attr) {
// template specializations for std::string and bool
void HDF5WriteAttribute(const std::string &name, const std::string &value,
hid_t location) {
HDF5WriteAttribute(name, value.size(), value.c_str(), location);
HDF5WriteAttribute(name, value.c_str(), location);
}

template <>
Expand Down
Loading