From 96c62e1b807290674c7667f704e4ac1bf1636bda Mon Sep 17 00:00:00 2001 From: Emily Howell Date: Thu, 17 Oct 2024 14:29:04 -0700 Subject: [PATCH] Changing from as_string to to_yaml. In theory this will have more universal floating point to string conversion. --- .../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); }