no point defining nm=-1
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Nov 2023 14:34:38 +0000 (14:34 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 15 Nov 2023 14:34:38 +0000 (14:34 +0000)
src/openpower/decoder/isa/maxloc.py

index c5185c42c57922478494a0fb6d44343651c5e5c3..668fdd6bd225ed60fb2a37e3991ae8de94d83142 100644 (file)
@@ -1,6 +1,6 @@
 def m2(a):
     m = 0;
-    nm = -1;
+    nm = 0;
     i = 0;
     n = len(a)