Skip to content

Commit ec880da

Browse files
committed
fix: add missing parenthesis in the formula for pronic numbers
1 parent 1bc961b commit ec880da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "figuratenum"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
description = "Generate 233 infinite figurate number sequences for mathematical research, applications, and exploration in Python."
99
readme = "README.md"
1010
authors = [{ name = "Edgar Armando Delgado Vega" }]

tests/test_plane_figuratenum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_centered_mgonal_numbers():
5656
def test_pronic_numbers():
5757
num_generator = pronic_numbers()
5858
infinite_seq = []
59-
for _ in range(1, 80):
59+
for _ in range(1, 81):
6060
next_number = next(num_generator)
6161
infinite_seq.append(next_number)
6262
assert infinite_seq == [2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, 240, 272, 306, 342, 380,

0 commit comments

Comments
 (0)