From b98051b716cc4baec7b3670394f50fe6c1c703f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Tue, 4 Apr 2023 16:06:07 +0200
Subject: [PATCH] fix: structure: wrong submergence error percentage

refs #302
---
 src/structure/structure.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/structure/structure.ts b/src/structure/structure.ts
index c644f55b..5ac03cb2 100644
--- a/src/structure/structure.ts
+++ b/src/structure/structure.ts
@@ -88,7 +88,7 @@ export abstract class Structure extends ChildNub {
                 MessageCode.ERROR_STRUCTURE_SUBMERGENCE_LOWER_THAN,
                 {
                     submergencePerc: this.computeSubmergencePercentage().toString(),
-                    min: min
+                    min: min * 100
                 }
             ));
         }
-- 
GitLab