From 59a8b19b0d46a1e3c247ad7e1906d628f61e1878 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