Skip to content

Commit 6071f44

Browse files
committed
Special case expm1 input dtypes for now
1 parent 8f3bfdc commit 6071f44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

array_api_tests/dtype_helpers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ def result_type(*dtypes: DataType):
267267
func_in_dtypes[name] = dtypes
268268
elif any("x" in name for name in signature(func).parameters.keys()):
269269
func_in_dtypes[name] = all_dtypes
270+
# See https://github.com/data-apis/array-api/pull/413
271+
func_in_dtypes["expm1"] = float_dtypes
270272

271273

272274
func_returns_bool = {

0 commit comments

Comments
 (0)