Skip to content
Snippets Groups Projects
Commit 6078f9d0 authored by mandeca's avatar mandeca :speech_balloon:
Browse files

Corrige error con número de muestras menor que 1.

parent 76d0149e
No related branches found
No related tags found
No related merge requests found
Pipeline #4814 passed
......@@ -56,7 +56,7 @@ function resample() {
let t_low = l.value;
let t_high = h.value;
if (isNaN(t_samples)) s.value = samples;
if (isNaN(t_samples) || t_samples < 1) s.value = samples;
if (isNaN(t_low) || t_low < 1915) l.value = year_low;
if (isNaN(t_high) || t_high > 2019) h.value = year_high;
if (!isNaN(t_low) && isNaN(t_high) && t_low > t_high) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment