From 3d782ce874662a4e28fd9930e60b6774af24a4ab Mon Sep 17 00:00:00 2001 From: Emily Howell Date: Fri, 18 Oct 2024 15:33:06 -0700 Subject: [PATCH] Changing from as_string to to_yaml. In theory this will have more universal floating point to string conversion. (#1402) --- .../flow_filters/ascent_runtime_rendering_filters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp b/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp index ba7bbad24..239d5ecbe 100644 --- a/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp +++ b/src/libs/ascent/runtimes/flow_filters/ascent_runtime_rendering_filters.cpp @@ -352,7 +352,7 @@ vtkh::Render parse_render(const conduit::Node &render_node, std::vector comments; for(int i = 0; i < num_comments; ++i) { - comments.push_back(comments_node.child(i).as_string()); + comments.push_back(comments_node.child(i).to_yaml()); } render.SetComments(comments); } @@ -1383,7 +1383,7 @@ DefaultRender::execute() std::vector comments; for(int i = 0; i < num_comments; ++i) { - comments.push_back(comments_node.child(i).as_string()); + comments.push_back(comments_node.child(i).to_yaml()); } render.SetComments(comments); }