mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 09:46:10 +00:00
ability to prevent force casts in numpy arguments
This commit is contained in:
@@ -73,3 +73,6 @@ my_func(x:int=6, y:float=3, z:float=2)
|
||||
[ 24. 30. 36.]]
|
||||
[[ 4 8 12]
|
||||
[24 30 36]]
|
||||
Int branch taken.
|
||||
Float branch taken.
|
||||
Complex float branch taken.
|
||||
|
||||
Reference in New Issue
Block a user