Fix some math primitive formatters
This commit is contained in:
parent
0731dd9216
commit
892662307f
3 changed files with 3 additions and 3 deletions
|
|
@ -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<T>>::format(b[i], ctx);
|
||||
ctx.advance_to(formatter<::psemek::math::interval<T>>::format(b[i], ctx));
|
||||
}
|
||||
return ctx.out();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<T>::format(p[i], ctx);
|
||||
ctx.advance_to(formatter<T>::format(p[i], ctx));
|
||||
}
|
||||
return std::format_to(ctx.out(), ")");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<T>::format(v[i], ctx);
|
||||
ctx.advance_to(formatter<T>::format(v[i], ctx));
|
||||
}
|
||||
return std::format_to(ctx.out(), ")");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue