Skip to content

Commit 4f85cd7

Browse files
authored
Merge branch 'master' into dpnp_tensordot
2 parents 51af89b + 0957ddd commit 4f85cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/random/dpnp_algo_random.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ cdef class MT19937(_Engine):
442442
try:
443443
for i in range(vector_seed_len):
444444
vector_seed[i] = <uint32_t> seed[i]
445-
except (ValueError, TypeError) as e:
445+
except Exception as e:
446446
free(vector_seed)
447447
raise e
448448
else:

0 commit comments

Comments
 (0)