Skip to content

Commit

Permalink
Merge pull request #104 from isazi/main
Browse files Browse the repository at this point in the history
Typo in code.
  • Loading branch information
isazi authored Nov 6, 2023
2 parents dbcde36 + 752deca commit 7f8ea1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/numba.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def find_all_primes_cpu_and_gpu(upper):
for num in range(0, upper):
result = np.zeros((1), np.int32)
check_prime_gpu_kernel[1,1](num, result)
if result[0] 0:
if result[0] != 0:
all_prime_numbers.append(num)
return all_prime_numbers

Expand Down

0 comments on commit 7f8ea1a

Please sign in to comment.