Skip to content

Commit 18a5267

Browse files
committed
Update julia1.py
1 parent 1579e07 commit 18a5267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01_profiling/cpu_profiling/julia1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def calc_pure_python(draw_output, desired_width, max_iterations):
9494
output = calculate_z_serial_purepython(max_iterations, zs, cs)
9595
end_time = time.time()
9696
secs = end_time - start_time
97-
print calculate_z_serial_purepython.func_name + " took", secs, "seconds"
97+
print calculate_z_serial_purepython.__name__ + " took", secs, "seconds"
9898

9999
# this sum is expected for 1000^2 grid with 300 iterations
100100
assert sum(output) == 33219980

0 commit comments

Comments
 (0)