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

Change output name for R^d vector

Write `R^d` instead of `vector[d]`. This is less confusing especially
w.r.t. error messages.
parent a66ba048
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -38,7 +38,7 @@ dataTypeName(const ASTNodeDataType& data_type)
name = "R";
break;
case ASTNodeDataType::vector_t:
name = "vector[" + std::to_string(data_type.dimension()) + "]";
name = "R^" + std::to_string(data_type.dimension());
break;
case ASTNodeDataType::string_t:
name = "string";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment