From 11bece34f749eb4eed30b117b190d1cb6a1c47b1 Mon Sep 17 00:00:00 2001 From: Benoit Coste Date: Tue, 9 Mar 2021 13:58:47 +0100 Subject: [PATCH] Make intel compiler happy By fixing a narrow conversion --- src/mut/writers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mut/writers.cpp b/src/mut/writers.cpp index e4ff9a2c0..e0c920ed1 100644 --- a/src/mut/writers.cpp +++ b/src/mut/writers.cpp @@ -375,7 +375,9 @@ void h5(const Morphology& morpho, const std::string& filename) { HighFive::Group g_metadata = h5_file.createGroup("metadata"); write_attribute(g_metadata, "version", std::vector{1, 2}); - write_attribute(g_metadata, "cell_family", std::vector{morpho.cellFamily()}); + write_attribute(g_metadata, + "cell_family", + std::vector{static_cast(morpho.cellFamily())}); write_attribute(h5_file, "comment", std::vector{version_string()}); if (hasPerimeterData_) {