From c203994dcf9f75a06d1cd0cbabbd13c93c66fde2 Mon Sep 17 00:00:00 2001 From: thouska Date: Tue, 28 Apr 2020 09:19:37 +0200 Subject: [PATCH] Add tab --- docs/Hydrological_model.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Hydrological_model.md b/docs/Hydrological_model.md index ea8aef55..fe25527f 100644 --- a/docs/Hydrological_model.md +++ b/docs/Hydrological_model.md @@ -172,11 +172,11 @@ To define the VanGenuchten parameter boundaries we use a normal distribution. return self.cmfmodel.observations def objectivefunction(self,simulation,evaluation): - if self._used_algorithm == 'sceua': # The SCE-UA algorithm minimizes the objectivefunction - like = spotpy.objectivefunctions.rmse(evaluation,simulation) - else: # All other implemented algorithm maximize the objectivefunction - objectivefunction= -spotpy.objectivefunctions.rmse(evaluation,simulation) - return objectivefunction + if self._used_algorithm == 'sceua': # The SCE-UA algorithm minimizes the objectivefunction + like = spotpy.objectivefunctions.rmse(evaluation,simulation) + else: # All other implemented algorithm maximize the objectivefunction + objectivefunction= -spotpy.objectivefunctions.rmse(evaluation,simulation) + return objectivefunction ## Sampling