From 1a247f84ca7b5c40d7e70cadf9e044f06306927a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 17 Nov 2023 13:01:22 +0000 Subject: [PATCH] whitespace --- src/openpower/decoder/isa/maxloc.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) 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) -- 2.30.2