Compare commits

..

2 Commits

Author SHA1 Message Date
95cecdf5f0 Add requirements.txt. 2024-04-11 00:59:38 +05:00
9db9d4f889 Add exception handling to MobiusInt. 2024-04-11 00:58:27 +05:00
2 changed files with 8 additions and 1 deletions

View File

@ -37,7 +37,10 @@ def cDist(cA, cB):
@jit(cache=True)
def MobiusInt(cA,cB,cC,cD): # Bruh
try:
return Klein2Poincare(cLineIntersection(Poincare2Klein(cA),Poincare2Klein(cB),Poincare2Klein(cC),Poincare2Klein(cD)))
except:
return 0j
@jit(cache=True)
def MobiusBetween(cA,cB,cN):

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
llvmlite==0.42.0
numba==0.59.1
numpy==1.26.4
pygame==2.5.2