From 44e386088809409a486f03e6bb3ecaa4e56b4394 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 3 Feb 2020 16:07:42 +0100 Subject: [PATCH] BUG: regression in FixedList find() method (from 8629755f694) --- src/OpenFOAM/containers/Lists/FixedList/FixedList.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/OpenFOAM/containers/Lists/FixedList/FixedList.C b/src/OpenFOAM/containers/Lists/FixedList/FixedList.C index 15b629a112..926053320f 100644 --- a/src/OpenFOAM/containers/Lists/FixedList/FixedList.C +++ b/src/OpenFOAM/containers/Lists/FixedList/FixedList.C @@ -44,6 +44,8 @@ Foam::label Foam::FixedList::find(const T& val, label pos) const { return pos; } + + ++pos; } }