d93f8582e0e67839729ad0f70f03d58cdd820259,scipy/special/tests/test_cython_special.py,,,#,15
Before Change
"d": map(lambda x: _double(x).val, real_points),
"g": map(lambda x: _long_double(x).val, real_points),
"F": map(lambda x: _complex(x).val, complex_points),
"D": map(lambda x: _double_complex(x).val, complex_points),
"G": map(lambda x: _long_double_complex(x).val, complex_points),
"i": map(lambda x: _int(x).val, real_points),
"l": map(lambda x: _long(x).val, real_points),
After Change
complex_points = [complex(*tup) for tup in product(real_points, repeat=2)]
CYTHON_SIGNATURE_MAP = {
"f": "float",
"d": "double",
"g": "long double",
"F": "float complex",
"D": "double complex",
"G": "long double complex",
"i":"int",
"l": "long"
}
TEST_POINTS = {
"f": real_points,
"d": real_points,
"g": real_points,
"F": complex_points,
"D": complex_points,
"G": complex_points,
"i": int_points,
"l": int_points,
}
def _generate_test_points(typecodes):
axes = tuple(map(lambda x: TEST_POINTS[x], typecodes))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scipy/scipy
Commit Name: d93f8582e0e67839729ad0f70f03d58cdd820259
Time: 2016-06-18
Author: pav@iki.fi
File Name: scipy/special/tests/test_cython_special.py
Class Name:
Method Name:
Project Name: danforthcenter/plantcv
Commit Name: 42a56f02648bf28758e61865c7e675936ae73843
Time: 2019-06-12
Author: noahfahlgren@gmail.com
File Name: plantcv/parallel/job_builder.py
Class Name:
Method Name: job_builder
Project Name: dask/distributed
Commit Name: a97c3daff52803d1af2befbe43b889e8b77bca95
Time: 2020-08-07
Author: mrocklin@gmail.com
File Name: distributed/protocol/core.py
Class Name:
Method Name: dumps
Project Name: scipy/scipy
Commit Name: d93f8582e0e67839729ad0f70f03d58cdd820259
Time: 2016-06-18
Author: pav@iki.fi
File Name: scipy/special/tests/test_cython_special.py
Class Name:
Method Name: