From: Luke Kenneth Casson Leighton Date: Fri, 17 Nov 2023 13:01:22 +0000 (+0000) Subject: whitespace X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a247f84ca7b5c40d7e70cadf9e044f06306927a;p=openpower-isa.git whitespace --- diff --git a/src/openpower/decoder/isa/maxloc.py b/src/openpower/decoder/isa/maxloc.py index ca1b06ba..740b287c 100644 --- a/src/openpower/decoder/isa/maxloc.py +++ b/src/openpower/decoder/isa/maxloc.py @@ -18,17 +18,18 @@ def m2(a): # /*Testbench*/ if __name__ == '__main__': - arr = [5,2,8,1,3,7,9,4] - print("search list", arr) - result = m2(arr) - print("Index of the maximum value in an array is: %d" % result) + arr = [5,2,8,1,3,7,9,4] + print("search list", arr) + result = m2(arr) + print("Index of the maximum value in an array is: %d" % result) - arr = [5,2,8,9,9,7,9,4] - print("search list", arr) - result = m2(arr) - print("Index of the maximum value in an array is: %d" % result) - arr = [0,0,0,0,0,0,0,0] - print("search list", arr) - result = m2(arr) - print("Index of the maximum value in an array is: %d" % result) + arr = [5,2,8,9,9,7,9,4] + print("search list", arr) + result = m2(arr) + print("Index of the maximum value in an array is: %d" % result) + + arr = [0,0,0,0,0,0,0,0] + print("search list", arr) + result = m2(arr) + print("Index of the maximum value in an array is: %d" % result)