+
+ if(nb_temperature_thresholds <= 0) {
+ fprintf(stderr, "There has to be at least one temperature.\n");
+ exit(EXIT_FAILURE);
+ }
+
+ if(temperature_thresholds[0] > 0) {
+ fprintf(stderr, "The lowest temperature has to be 0.\n");
+ exit(EXIT_FAILURE);
+ }
+