Skip to content
Snippets Groups Projects
Commit 481f183e authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Increasing the date for temperature sum calculation

parent 1afc2ae9
Branches
Tags
No related merge requests found
......@@ -366,7 +366,7 @@ public class DeliaRadicumModel extends I18nImpl implements Model{
Calendar cal = Calendar.getInstance(this.timeZone);
Double sum = 0.0;
while(today.compareTo(lastDate) < 0)
while(today.compareTo(lastDate) <= 0)
{
WeatherObservation todayTemp = (WeatherObservation)this.dataMatrix.getParamValueForDate(today, inputParameterName);
if(todayTemp == null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment