Skip to content

Commit

Permalink
Placement::tostring Fix fmt expression
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddleStroke authored and wwmayer committed Dec 18, 2024
1 parent 7d2c10f commit 8e0bf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/Placement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ std::string Placement::toString()
double angle;
rot.getRawValue(axis, angle);

return fmt::format("position ({.1f}, {.1f}, {.1f}), axis ({.1f}, {.1f}, {.1f}), angle {.1f}\n",
return fmt::format("position ({:.1f}, {:.1f}, {:.1f}), axis ({:.1f}, {:.1f}, {:.1f}), angle {:.1f}\n",
pos.x,
pos.y,
pos.z,
Expand Down

0 comments on commit 8e0bf19

Please sign in to comment.