diff --git a/libs/math/include/psemek/math/box.hpp b/libs/math/include/psemek/math/box.hpp index 24aa6924..04b26e82 100644 --- a/libs/math/include/psemek/math/box.hpp +++ b/libs/math/include/psemek/math/box.hpp @@ -364,7 +364,7 @@ namespace std for (std::size_t i = 0; i < b.dimension(); ++i) { if (i > 0) ctx.advance_to(std::format_to(ctx.out(), "x")); - formatter<::psemek::math::interval>::format(b[i], ctx); + ctx.advance_to(formatter<::psemek::math::interval>::format(b[i], ctx)); } return ctx.out(); } diff --git a/libs/math/include/psemek/math/point.hpp b/libs/math/include/psemek/math/point.hpp index 7aa26924..2e2af0d8 100644 --- a/libs/math/include/psemek/math/point.hpp +++ b/libs/math/include/psemek/math/point.hpp @@ -325,7 +325,7 @@ namespace std for (std::size_t i = 0; i < p.dimension(); ++i) { if (i > 0) ctx.advance_to(std::format_to(ctx.out(), ", ")); - formatter::format(p[i], ctx); + ctx.advance_to(formatter::format(p[i], ctx)); } return std::format_to(ctx.out(), ")"); } diff --git a/libs/math/include/psemek/math/vector.hpp b/libs/math/include/psemek/math/vector.hpp index 9060db95..908b0539 100644 --- a/libs/math/include/psemek/math/vector.hpp +++ b/libs/math/include/psemek/math/vector.hpp @@ -565,7 +565,7 @@ namespace std for (std::size_t i = 0; i < v.dimension(); ++i) { if (i > 0) ctx.advance_to(std::format_to(ctx.out(), ", ")); - formatter::format(v[i], ctx); + ctx.advance_to(formatter::format(v[i], ctx)); } return std::format_to(ctx.out(), ")"); }