Skip to content

Commit 51c24fa

Browse files
author
Vahid Tavanashad
committed
update a comment
1 parent 6a6522d commit 51c24fa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mkl_umath/generate_umath.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525

2626
# Adapted with modifications from
2727
# https://github.com/numpy/numpy/blob/maintenance/2.2.x/numpy/_core/code_generators/generate_umath.py
28-
# The differences with numpy file are:
29-
# 1) defdict dictionary is completely different
30-
# 2) in function make_arrays, cfunc_fname = f"{tname}_* is changed to cfunc_fname = f"mkl_umath_{tname}_*
31-
# 3) line-988: {doc} is changed to "{doc}"
28+
# Differences with the NumPy file:
29+
# 1) The `defdict` dictionary is completely different.
30+
# 2) In the `make_arrays` function, `cfunc_fname = f"{tname}_*"` is changed to `cfunc_fname = f"mkl_umath_{tname}_*"`
31+
# 3) In the `make_ufuncs` function, line 988: `{doc}` is changed to `"{doc}"`
32+
# 4) In the `make_code` function, the string used there is different.
3233

3334
"""
3435
Generate the code to build all the internal ufuncs. At the base is the defdict:

0 commit comments

Comments
 (0)