Skip to content

Commit 992900b

Browse files
committed
Special case expm1 input dtypes for now
1 parent add41f0 commit 992900b

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
@@ -221,6 +221,8 @@ def result_type(*dtypes: DataType):
221221
func_in_dtypes[name] = dtypes
222222
elif any("x" in name for name in signature(func).parameters.keys()):
223223
func_in_dtypes[name] = all_dtypes
224+
# See https://github.com/data-apis/array-api/pull/413
225+
func_in_dtypes["expm1"] = float_dtypes
224226

225227

226228
func_returns_bool = {

0 commit comments

Comments
 (0)