From 81c082643568ef4507c92c6f8c4d7f2778274aa6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 27 Mar 2026 01:34:03 +0100 Subject: [FEAT] Fix GenericsLibrary implementation for Nectar. Signed-off-by: Amlal El Mahrouss --- include/GenericsLibrary/algorithm.nhh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/GenericsLibrary/algorithm.nhh') diff --git a/include/GenericsLibrary/algorithm.nhh b/include/GenericsLibrary/algorithm.nhh index 1dd1e0c..e339ba1 100644 --- a/include/GenericsLibrary/algorithm.nhh +++ b/include/GenericsLibrary/algorithm.nhh @@ -11,7 +11,7 @@ let for_each(let it, let action) { - for (let i := it.begin(); i != it.end(); i += 1) + for (let i := it.begin(); i !== it.end(); i += 1) { action(i); } @@ -21,7 +21,7 @@ let for_each(let it, let action) let find(let it, let predicate) { - for (let i := it.begin(); i != it.end(); i += 1) + for (let i := it.begin(); i !== it.end(); i += 1) { if (predicate(i)) { @@ -34,7 +34,7 @@ let find(let it, let predicate) let remove(let it, let pred) { - for (let i = it.begin(); i != it.end(); ++i) + for (let i = it.begin(); i !== it.end(); ++i) { if (pred(i)) { -- cgit v1.2.3