From 71de06308ddd3fe1422cb3a3e1436674b9cf3270 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 15 Nov 2023 14:34:38 +0000 Subject: [PATCH] no point defining nm=-1 --- src/openpower/decoder/isa/maxloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/maxloc.py b/src/openpower/decoder/isa/maxloc.py index c5185c42..668fdd6b 100644 --- a/src/openpower/decoder/isa/maxloc.py +++ b/src/openpower/decoder/isa/maxloc.py @@ -1,6 +1,6 @@ def m2(a): m = 0; - nm = -1; + nm = 0; i = 0; n = len(a) -- 2.30.2