From a0de07bf707957f615cd163ce1ea96de433e052b Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Thu, 28 Jul 2022 18:23:51 -0500 Subject: [PATCH] Correcting hdf5 function signature --- src/tallies/filter_energyfunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tallies/filter_energyfunc.cpp b/src/tallies/filter_energyfunc.cpp index d783366bcd..37c1c3178c 100644 --- a/src/tallies/filter_energyfunc.cpp +++ b/src/tallies/filter_energyfunc.cpp @@ -90,7 +90,7 @@ void EnergyFunctionFilter::to_statepoint(hid_t filter_group) const Filter::to_statepoint(filter_group); write_dataset(filter_group, "energy", energy_); write_dataset(filter_group, "y", y_); - write_attr_int(filter_group, "interpolation", interpolation_); + write_attribute(filter_group, "interpolation", static_cast(interpolation_)); } std::string EnergyFunctionFilter::text_label(int bin) const