From 52881467d6061d2ad8f27190122d9530d03a8575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Tue, 18 Jun 2019 15:31:06 +0200 Subject: [PATCH] Array Dimension Checker: Correct Groupsize Criterion It is perfectly fine to have groups whose size (number of children) is equal to the declared maximum (Item 4 of WELLDIMS). It is only questionable to have groups whose active size exceeds that of the declared maximum. Pointy Hat: @bska --- .../parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp index 55284796d..3672da647 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/ArrayDimChecker.cpp @@ -114,7 +114,7 @@ namespace { size = std::max(size, static_cast(nwgmax)); } - if (size >= static_cast(wdims.maxWellsPerGroup())) + if (size > static_cast(wdims.maxWellsPerGroup())) { std::ostringstream os; os << "Run uses maximum group size of " << size << ", but "