Skip to content
Snippets Groups Projects
Commit ccc652c7 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

fix interpolation in last year

parent f650a890
No related branches found
No related tags found
No related merge requests found
......@@ -141,12 +141,12 @@ load_environment_if_needed(struct cats_configuration *conf, struct cats_environm
int end = start + environment->interpolation_interval;
if (time != conf->time.year_start + conf->time.simulation_length) {
log_message(LOG_INFO,
"%s: loading interpolated %s %s for year %d (interpolated between %d and %d)",
short_name, name, environment->pattern, time, start, end);
load_environment_interpolated(conf, environment, start, end, time);
}
log_message(LOG_INFO,
"%s: loading interpolated %s %s for year %d (interpolated between %d and %d)",
short_name, name, environment->pattern, time, start, end);
load_environment_interpolated(conf, environment, start, end, time);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment