From 8b5c775bc61a9297ba13d9d2e7c24a5b82818000 Mon Sep 17 00:00:00 2001 From: Philipp Grete Date: Thu, 4 May 2023 10:07:56 +0200 Subject: [PATCH] Fix typo --- src/outputs/output_utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/outputs/output_utils.hpp b/src/outputs/output_utils.hpp index 1ad7791ea015..98cb1a435938 100644 --- a/src/outputs/output_utils.hpp +++ b/src/outputs/output_utils.hpp @@ -81,7 +81,7 @@ struct VarInfo { component_labels = {}; if (num_components == 1) { const auto suffix = component_labels_.empty() ? "" : "_" + component_labels_[0]; - component_labels = std::vector({label + suffix}) + component_labels = std::vector({label + suffix}); } else if (component_labels_.size() == num_components) { for (int i = 0; i < num_components; i++) { component_labels.push_back(label + "_" + component_labels_[i]);