Small beautification of the Coloquinte bloat factor display.

This commit is contained in:
Jean-Paul Chaput 2023-06-25 11:57:04 +02:00 committed by Gabriel Gouvine
parent b06e90d122
commit 508adbd00b
1 changed files with 3 additions and 1 deletions

View File

@ -848,7 +848,9 @@ namespace Etesian {
double densityVariation = getDensityVariation();
double bloatFactor = 1.0 + std::max(spaceMargin - densityVariation, 0.0);
if (bloatFactor != 1.0) {
cmess1 << " - Cells inflated by " << bloatFactor << endl;
ostringstream bf;
bf << fixed << setprecision(2) << bloatFactor << "%";
cmess1 << ::Dots::asString( " - Coloquinte cell bloat factor ", bf.str() ) << endl;
}
int rowHeight = (getSliceHeight() + vpitch - 1) / vpitch;