Rev 697 | Rev 779 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 697 | Rev 720 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | int iday = 0; |
124 | int iday = 0; |
125 | mChillDaysBefore = 0; |
125 | mChillDaysBefore = 0; |
126 | int days_after = 0; |
126 | int days_after = 0; |
127 | int last_day = end_of_season>0?end_of_season:mDayEnd; |
127 | int last_day = end_of_season>0?end_of_season:mDayEnd; |
128 | for (const ClimateDay *day = mClimate->begin(); day!=mClimate->end(); ++day, ++iday) { |
128 | for (const ClimateDay *day = mClimate->begin(); day!=mClimate->end(); ++day, ++iday) { |
129 | if (day->temperature>=-5 |
129 | if (day->temperature>=-5. && day->temperature<5.) { |
130 | if (iday<mDayStart) |
130 | if (iday<mDayStart) |
131 | mChillDaysBefore++; |
131 | mChillDaysBefore++; |
132 | if (iday>last_day) |
132 | if (iday>last_day) |
133 | days_after++; |
133 | days_after++; |
134 | }
|
134 | }
|