Skip to content

Commit

Permalink
Merge branch 'feature/error-message-fix' of github.com:PowerGridModel…
Browse files Browse the repository at this point in the history
…/power-grid-model into feature/error-message-fix

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
  • Loading branch information
mgovers committed Dec 4, 2024
2 parents a7b0185 + 20f8276 commit 0d9c5e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ struct MapArrayVisitor : DefaultErrorVisitor<MapArrayVisitor<map_array>> {
static constexpr bool enable_array =
std::same_as<map_array, visit_array_t> || std::same_as<map_array, visit_map_array_t>;
static constexpr std::string_view static_err_msg =
enable_map ? (enable_array ? "Map or array expected." : "Map expected.") : "Array expected.";
enable_map ? (enable_array ? "Map or an array expected." : "Map expected.") : "Array expected.";

Idx size{};
bool is_map{};
Expand Down

0 comments on commit 0d9c5e5

Please sign in to comment.