Fix to the fix (#57)

* float fix

* oops
This commit is contained in:
petrie911
2024-03-27 18:01:50 -06:00
committed by GitHub
parent f9efdcf634
commit a7d7acdc42
+1 -1
View File
@@ -18,7 +18,7 @@ static int GetPrecision(float f) {
return p;
}
static std::ostream& FormatFloat(std::ostream& out, const float x, int w) {
static void FormatFloat(std::ostream& out, const float x, int w) {
if(x == (int) x) {
out << std::dec << std::fixed << std::setprecision(0) << std::setfill(' ') << std::setw(w - 2) << x << ".0f";
} else {