Skip to content

Commit

Permalink
Typo in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
isazi committed Nov 6, 2023
1 parent 6eac9ce commit 752deca
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 752deca

Please sign in to comment.