Skip to content

Commit c06314a

Browse files
committed
fix docs
1 parent 9cfa756 commit c06314a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyfmm/c_interfaces.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
C_FMM_raytracing:Any = None
2424

2525
def load_c_lib(use_float:bool=False):
26+
r'''
27+
加载单精度或双精度的C库,修改c_interfaces下的NPCT_REAL_TYPE变量和C函数接口
28+
29+
:param use_float: 是否使用单精度
30+
'''
2631
global USE_FLOAT, NPCT_REAL_TYPE, C_FastMarching, C_FMM_raytracing
2732

2833
USE_FLOAT = use_float

0 commit comments

Comments
 (0)