File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6565# These functions are completely new here. If the library already has them
6666# (i.e., numpy 2.0), use the library version instead of our wrapper.
6767if hasattr (cp , 'vecdot' ):
68- vecdot = get_xp (cp )(_aliases .vecdot )
69- else :
7068 vecdot = cp .vecdot
69+ else :
70+ vecdot = get_xp (cp )(_aliases .vecdot )
7171if hasattr (cp , 'isdtype' ):
7272 isdtype = cp .isdtype
7373else :
Original file line number Diff line number Diff line change 6565# These functions are completely new here. If the library already has them
6666# (i.e., numpy 2.0), use the library version instead of our wrapper.
6767if hasattr (np , 'vecdot' ):
68- vecdot = get_xp (np )(_aliases .vecdot )
69- else :
7068 vecdot = np .vecdot
69+ else :
70+ vecdot = get_xp (np )(_aliases .vecdot )
7171if hasattr (np , 'isdtype' ):
7272 isdtype = np .isdtype
7373else :
You can’t perform that action at this time.
0 commit comments