-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
On version 11.5.0 while evaluating map([1, 8, 27], cbrt)
yields an error
TypeError: Unexpected type of argument in function cbrt (expected: boolean, actual: Array, index: 1)
On version 10.6.4
cbrt([1, 8, 27]) yields [1, 2, 3] as expected for that version.
but map([1, 8, 27], cbrt) yields the same error TypeError: Unexpected type of argument in function cbrt (expected: boolean, actual: Array, index: 1)
This behavior is unique for cbrt( ) and doesn't happen for other functions that droped element wise matrix support
If we try the square root map([1 ,4, 9], sqrt) it yields [1, 2, 3] as expected
To Reproduce
On version 11.5.0 evaluate map([1, 8, 27], cbrt)
Reactions are currently unavailable