Commit d7d7b107 authored by Lambert Patrick's avatar Lambert Patrick
Browse files

gender bug fixed

parent 78836a70
......@@ -396,8 +396,8 @@ public class ReproduceAndSurviveAfterReproductionWithDiagnose extends AquaNismsG
riverBasin.getSpawnersForFirstTimeMeanLengths(Gender.FEMALE).push(femaleSpawnersForFirstTimeLengthsSum / numberOfFemaleSpawnerForFirstTime);
}
else {
riverBasin.getSpawnersForFirstTimeMeanAges(Gender.MALE).push(0.);
riverBasin.getSpawnersForFirstTimeMeanLengths(Gender.MALE).push(0.);
riverBasin.getSpawnersForFirstTimeMeanAges(Gender.FEMALE).push(0.);
riverBasin.getSpawnersForFirstTimeMeanLengths(Gender.FEMALE).push(0.);
}
if (numberOfMaleSpawnerForFirstTime>0) {
riverBasin.getSpawnersForFirstTimeMeanAges(Gender.MALE).push(maleSpawnersForFirstTimeAgesSum/numberOfMaleSpawnerForFirstTime);
......
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