Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ssc/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,12 +1299,12 @@ bool weatherdata::check_continuous_single_year(bool leapyear)
if (idx > (int)m_nRecords - 1)
return false;
//if any of the month, day, hour, or minute don't line up with what we've calculated, then it doesn't fit our criteria for a continuous year
min += tsph * ts_min;
if (this->m_data[idx]->month != m || this->m_data[idx]->day != d || this->m_data[idx]->hour != h
|| this->m_data[idx]->minute != min)
return false;
else
idx++;
min += ts_min;
}
}
}
Expand Down