From 0964e0597de2b6d33015340682d8ff5c5cabb327 Mon Sep 17 00:00:00 2001
From: Lambert Patrick <patrick.lambert@irstea.fr>
Date: Wed, 28 Aug 2019 08:36:18 +0200
Subject: [PATCH] typing correction

---
 src/main/java/species/NutrientRoutine.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/species/NutrientRoutine.java b/src/main/java/species/NutrientRoutine.java
index 598a6d6..88fb86c 100644
--- a/src/main/java/species/NutrientRoutine.java
+++ b/src/main/java/species/NutrientRoutine.java
@@ -316,9 +316,10 @@ public class NutrientRoutine {
 			if (spawningPosition == SpawningPosition.PRE)
 				gonadWeight = Math.exp(fishFeaturesPreSpawning.get(fish.getGender()).get("aLW_Gonad")
 						+ fishFeaturesPreSpawning.get(fish.getGender()).get("bLW_Gonad") * Math.log(fish.getLength())); 
-			else 
+			else {
 				gonadWeight = Math.exp(fishFeaturesPostSpawning.get(fish.getGender()).get("aLW_Gonad")
 						+ fishFeaturesPostSpawning.get(fish.getGender()).get("bLW_Gonad") * Math.log(fish.getLength())); 
+			}
 		}
 		return gonadWeight;
 	}
-- 
GitLab