diff --git a/example/advection/advection_package.cpp b/example/advection/advection_package.cpp index 65980cdbcba5..e3e75657758d 100644 --- a/example/advection/advection_package.cpp +++ b/example/advection/advection_package.cpp @@ -155,7 +155,7 @@ std::shared_ptr Initialize(ParameterInput *pin) { std::vector advected_labels; advected_labels.reserve(vec_size); for (int j = 0; j < vec_size; ++j) { - advected_labels.push_back("Advected_" + std::to_string(var) + " _" + + advected_labels.push_back("Advected_" + std::to_string(var) + "_" + std::to_string(j)); } if (var == 0) { // first var is always called just "advected" diff --git a/src/outputs/parthenon_hdf5.cpp b/src/outputs/parthenon_hdf5.cpp index 8f4bb3165095..6742090f443f 100644 --- a/src/outputs/parthenon_hdf5.cpp +++ b/src/outputs/parthenon_hdf5.cpp @@ -428,7 +428,8 @@ void PHDF5Output::WriteOutputFileImpl(Mesh *pm, ParameterInput *pin, SimTime *tm } catch (std::exception &ex) { std::stringstream err; err << "### ERROR: Failed to create HDF5 output file '" << filename - << "' with the following error:" << std::endl << ex.what() << std::endl; + << "' with the following error:" << std::endl + << ex.what() << std::endl; PARTHENON_THROW(err) }