From 6da4ab6956eb9b8721bf662b9e759e3907f7f489 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Fri, 5 Apr 2024 13:59:51 +0200 Subject: [PATCH] #11310 Fix assert on single cell model. Well pipe radius would become HUGE_VAL due to off-by-one error. The assert could only happen on model with a single cell. Fixes #11310. --- Fwk/AppFwk/CommonCode/cvfStructGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fwk/AppFwk/CommonCode/cvfStructGrid.cpp b/Fwk/AppFwk/CommonCode/cvfStructGrid.cpp index d3f653021a..5f872be8bc 100644 --- a/Fwk/AppFwk/CommonCode/cvfStructGrid.cpp +++ b/Fwk/AppFwk/CommonCode/cvfStructGrid.cpp @@ -380,7 +380,7 @@ void StructGridInterface::computeCharacteristicCellSize( const std::vector