Skip to content

Commit 73a76be

Browse files
committed
reduce max_denom.. caused overflow errors
1 parent 149e504 commit 73a76be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regfans/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def gcd(vals: list[float], max_denom: float=10**6) -> float:
6565
else:
6666
return gprime/l
6767

68-
def primitive(vec: list[float], max_denom=10**10):
68+
def primitive(vec: list[float], max_denom=10**6):
6969
"""
7070
**Description:**
7171
Computes the primitive vector associated to the input ray {c*vec: c>=0}.

0 commit comments

Comments
 (0)