mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 21:44:52 +02:00
Remove use of int function after math.ceil
Return type of math.ceil is already an int.
This commit is contained in:
@@ -73,9 +73,7 @@ class Intel(linear.LinearlyMappedLayer):
|
||||
)
|
||||
|
||||
# These can vary depending on the type of space
|
||||
self._index_shift = math.ceil(
|
||||
math.log2(struct.calcsize(self._entry_format))
|
||||
)
|
||||
self._index_shift = math.ceil(math.log2(struct.calcsize(self._entry_format)))
|
||||
|
||||
@classproperty
|
||||
@functools.lru_cache()
|
||||
|
||||
Reference in New Issue
Block a user