Skip to content

Commit

Permalink
Revert "Changed rpt flow fmt so that large values are not concatenated
Browse files Browse the repository at this point in the history
…#109"

This reverts commit 32c46eb.
  • Loading branch information
michaeltryby committed Oct 8, 2024
1 parent 2a2a645 commit 0d3fdbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()


project(swmm-solver
VERSION 5.2.4
VERSION 5.2.3
LANGUAGES C CXX
)

Expand Down
3 changes: 1 addition & 2 deletions src/solver/hotstart.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
// Build 5.1.015:
// - Support added for multiple infiltration methods within a project.
// Build 5.2.5:
// - Fixed bug in fwrite count argument when writing catchment landuse pollutant
// build-up.
// - Fixed bug in fwrite count argument when writing of pollutant build-up.
//-----------------------------------------------------------------------------
#define _CRT_SECURE_NO_DEPRECATE

Expand Down
4 changes: 2 additions & 2 deletions src/solver/statsrpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ void statsrpt_writeReport()
//
{
// --- set number of decimal places for reporting flow values
if ( FlowUnits == MGD || FlowUnits == CMS ) sstrncpy(FlowFmt, "%9.3g", 5);
else sstrncpy(FlowFmt, "%9.2g", 5);
if ( FlowUnits == MGD || FlowUnits == CMS ) sstrncpy(FlowFmt, "%9.3f", 5);
else sstrncpy(FlowFmt, "%9.2f", 5);

// --- conversion factor from cu. ft. to mil. gallons or megaliters
if (UnitSystem == US) Vcf = 7.48 / 1.0e6;
Expand Down

0 comments on commit 0d3fdbe

Please sign in to comment.