Skip to content

Commit 7cd507b

Browse files
oleksandr-pavlykchudur-budur
authored andcommitted
Fixed a blunder in _parse_version
1 parent c010afc commit 7cd507b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numba_dpex/dpctl_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def _parse_version():
99
t = dpctl.__version__.split(".")
1010
if len(t) > 1:
1111
try:
12-
return tuple(map(int, t))
12+
return tuple(map(int, t[:2]))
1313
except ValueError:
1414
return (0, 0)
1515
else:

0 commit comments

Comments
 (0)