Skip to content
Snippets Groups Projects
Commit b75cad6e authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add type info for tuples of embedded type

parent a18df20a
No related branches found
No related tags found
1 merge request!199Integrate checkpointing
......@@ -109,6 +109,8 @@ checkpoint()
(is_tiny_vector_v<value_type>) or (is_tiny_matrix_v<value_type>)) {
symbol_table_group.createAttribute(symbol.name(), data);
} else if constexpr (std::is_same_v<value_type, EmbeddedData>) {
symbol_table_group.createGroup("embedded/" + symbol.name())
.createAttribute("type", dataTypeName(symbol.attributes().dataType()));
for (size_t i = 0; i < data.size(); ++i) {
CheckpointResumeRepository::instance().checkpoint(symbol.attributes().dataType().contentType(),
symbol.name() + "/" + std::to_string(i),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment