Skip to content

Commit

Permalink
Update lib_irradproc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet authored Oct 11, 2024
1 parent 3d7dc05 commit 1f035f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/lib_irradproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ void irrad::setup_solarpos_outputs_for_lifetime(size_t ts_per_year) {
}

bool irrad::getStoredSolarposOutputs() {
if (!solarpos_outputs_for_lifetime.size()) return false;
if (solarpos_outputs_for_lifetime.size() == 0) return false;

size_t timeIndex = util::yearIndex(0, this->month, this->day, this->hour, this->minute, solarpos_outputs_for_lifetime.size() / 8760);

Expand Down

0 comments on commit 1f035f7

Please sign in to comment.