From c9af83b8ae719265b354b7b9b9947075345daac5 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 18 Sep 2022 13:40:56 +0300 Subject: [PATCH] power_fields: fix __lt__ operator --- src/openpower/decoder/power_fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_fields.py b/src/openpower/decoder/power_fields.py index 0f809a55..f39ff386 100644 --- a/src/openpower/decoder/power_fields.py +++ b/src/openpower/decoder/power_fields.py @@ -63,7 +63,7 @@ class Reference: else: raise ValueError(other) - return op(int(lhs), int(rhs)) + return op(lhs, rhs) def __lt__(self, other): return self.__binary_operator(_selectltu, other) -- 2.30.2