Skip to content

Commit e58326b

Browse files
committed
Fix typos
1 parent 137c5dc commit e58326b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/python_pkg/benchmarks/placement_methods.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
{'void': 1.0, 'rand': 0.0, 'walk': 0.0, 'grow': 0.0, 'min': 0.0}
2020
])
2121
@pytest.mark.benchmark(
22-
group="min_placement",
22+
group="placement_methods",
2323
min_rounds=5,
2424
timer=time.time,
2525
disable_gc=True,
2626
warmup=False
2727
)
28-
def test_min_placement(benchmark, grid_spacing, kBT, width, method_probab):
28+
def test_placement_methods(benchmark, grid_spacing, kBT, width, method_probab):
2929

3030
calc = CHGNetCalculator()
3131
host = Atoms('C', positions=[(0, 0, 0)], cell=[3.567, 3.567, 3.567], pbc=True, calculator=calc)
@@ -73,7 +73,7 @@ def test_min_placement(benchmark, grid_spacing, kBT, width, method_probab):
7373

7474
for grid_spacing in grid_spacings:
7575
for _ in range(5): # Run the benchmark 5 times for each grid size
76-
result = test_min_placement(lambda x: x, grid_spacing, 0.4, [0.025, np.pi/200.0, np.pi/200.0])
76+
result = test_placement_methods(lambda x: x, grid_spacing, 0.4, [0.025, np.pi/200.0, np.pi/200.0])
7777
results.append({
7878
'grid_spacing': grid_spacing,
7979
'time': result

0 commit comments

Comments
 (0)