Removes silent change to WQ option for 0 duration run

This commit is contained in:
Lew Rossman
2021-09-25 09:32:20 -04:00
parent 7baf992d69
commit d552d0c92c

View File

@@ -229,9 +229,6 @@ void adjustdata(Project *pr)
// Report start time cannot be greater than simulation duration
if (time->Rstart > time->Dur) time->Rstart = 0;
// No water quality analysis for single period run
if (time->Dur == 0) qual->Qualflag = NONE;
// If no quality timestep, then make it 1/10 of hydraulic timestep
if (time->Qstep == 0) time->Qstep = time->Hstep / 10;