Commit daf4df1d authored by patrick.lambert's avatar patrick.lambert
Browse files

code cleaning

parent 87b7bb9e
......@@ -20,7 +20,6 @@
package analysis;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -163,7 +162,7 @@ public class AnalyseSpawnerFeatures extends AquaNismsGroupProcess<DiadromousFish
if (nbAgeForPrimiparousFemale > 0.)
ageOfPrimiparousFemaleMemories.get(riverBasin)
.push(meanAgeForPrimiparousFemale / nbAgeForPrimiparousFemale);
.push(meanAgeForPrimiparousFemale / nbAgeForPrimiparousFemale);
else
ageOfPrimiparousFemaleMemories.get(riverBasin).push(Double.NaN);
if (nbAgeForPrimiparousMale > 0.)
......@@ -223,13 +222,12 @@ public class AnalyseSpawnerFeatures extends AquaNismsGroupProcess<DiadromousFish
range[0] = ageEffective.calculateMedian();
range[1] = ageMin;
range[2] = ageMax;
}
else {
} else {
range[0] = Double.NaN;
range[1] = Double.NaN;
range[2] = Double.NaN;
}
System.out.println(Arrays.toString(range));
// System.out.println(Arrays.toString(range));
return range;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment