Skip to content

Commit

Permalink
Fix lru_cache usage
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Apr 29, 2021
1 parent 2b88446 commit c8c5878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navis/nbl/smat.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def from_dataframe(cls, df: pd.DataFrame, strict=False):
return cls(boundaries, df.to_numpy())


@lru_cache
@lru_cache(maxsize=None)
def _smat_fcwb(alpha=False):
# cached private function defers construction
# until needed (speeding startup),
Expand Down

0 comments on commit c8c5878

Please sign in to comment.