3-23-2011 Development (in 6.1): Bad Open Series Slot Dialog Timesteps
Fixed 3-24-2011: An Open Slot dialog series data display
bug was caused by changes to implement Run-Start and Run-End divider lines
(checked in two days ago).
In MONTHLY models, after the row for the Slot's last timestep, up to five or six additional rows were repeated with the Series Slot's first several timesteps. ----------------------- In method: void SlotQDlgTable::computeTstepInxOfRowArray
(..), a C++ "switch" case was added for the new "SQD_PREPOST_ONLY"
TimeDivTyp, but there was no "break" before the prior case supporting
the divider type used for monthly models (i.e. annual dividers). So, for
monthly models, TWO iterations through the SeriesSlot's timesteps, to
create rows, were being performed -- but the second (redundant) iteration
stopped after the maximum number of allocated row elements (which was
generally five more than needed, in this case). |
What is going on here! The Open Series Slot Dialogs are repeating timesteps (at the end). The SCT (top dialog) is showing the correct data. I've seen this only in one small test model -- and not in any of our regression test models -- In progress.