Skip to content

Commit

Permalink
TYP: fx_volatility.py (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 authored Jan 6, 2025
1 parent 8dd97e2 commit 4c07fe0
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 75 deletions.
4 changes: 2 additions & 2 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def time_composite_curve_value_getting(self):
self.compcurve[_]

def clear_caches(self):
self.curve.clear_cache()
self.curve2.clear_cache()
self.curve._clear_cache()
self.curve2._clear_cache()

def time_curve_value_getting_no_cache(self):
with default_context("curve_caching", False):
Expand Down
Loading

0 comments on commit 4c07fe0

Please sign in to comment.