Skip to content

Commit aba6777

Browse files
committed
fix: resolve pylint warning by changing lru_cache maxsize in flasq_model.py
1 parent 1105296 commit aba6777

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qualtran/surface_code/flasq/flasq_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def regular_spacetime_volume(self) -> SymbolicFloat:
425425
"""
426426
return self.total_spacetime_volume - self.cultivation_volume
427427

428-
@lru_cache(maxsize=None)
428+
@lru_cache(maxsize=4096)
429429
def resolve_symbols(
430430
self, assumptions: frozendict[typing.Union[sympy.Symbol, str], typing.Any]
431431
) -> "FLASQSummary":

0 commit comments

Comments
 (0)