Skip to content

Commit 0a80458

Browse files
committed
BENCH: Add unit cashflow
1 parent 82d616b commit 0a80458

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmarks/benchmarks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Npv1DCashflow:
66

77
param_names = ["cashflow_length"]
88
params = [
9-
(10, 100, 1000),
9+
(1, 10, 100, 1000),
1010
]
1111

1212
def __init__(self):
@@ -24,8 +24,8 @@ class Npv2DCashflows:
2424

2525
param_names = ["n_cashflows", "cashflow_lengths"]
2626
params = [
27-
(10, 100, 1000),
28-
(10, 100, 1000),
27+
(1, 10, 100, 1000),
28+
(1, 10, 100, 1000),
2929
]
3030

3131
def __init__(self):

0 commit comments

Comments
 (0)