We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ab095 commit 344c911Copy full SHA for 344c911
1 file changed
src/EnergyPlus/WeatherManager.cc
@@ -8704,11 +8704,10 @@ namespace Weather {
8704
while (statFile.good()) {
8705
auto lineIn = statFile.readLine();
8706
if (has(lineIn.data, "Monthly Statistics for Dry Bulb temperatures")) {
8707
- for (int i = 1; i <= 7; ++i) {
8708
- lineIn = statFile.readLine();
+ for (int i = 0; i < 7; ++i) {
+ statFile.readLine();
8709
}
8710
- auto lineAvgIn = statFile.readLine();
8711
- lineAvg = lineAvgIn.data;
+ lineAvg = statFile.readLine().data;
8712
break;
8713
8714
0 commit comments