Skip to content

Commit

Permalink
Changing from as_string to to_yaml. In theory this will have more uni…
Browse files Browse the repository at this point in the history
…versal floating point to string conversion. (#1402)
  • Loading branch information
emily-howell authored Oct 18, 2024
1 parent c6d5e2e commit 3d782ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ vtkh::Render parse_render(const conduit::Node &render_node,
std::vector<std::string> 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);
}
Expand Down Expand Up @@ -1383,7 +1383,7 @@ DefaultRender::execute()
std::vector<std::string> 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);
}
Expand Down

0 comments on commit 3d782ce

Please sign in to comment.