Skip to content

Commit 698d7ce

Browse files
Apply Black code formatting
1 parent dbcabf9 commit 698d7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/profiling_memory_and_time.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
profile = LineProfiler()
2525
profile.add_function(parallel_tridiag_eigen)
26-
os.makedirs("Profiling_files", exist_ok=True) # to save the outputs of profiling
26+
os.makedirs("Profiling_files", exist_ok=True) # to save the outputs of profiling
2727

2828
seed = 1000
2929
np.random.seed(seed)
@@ -91,7 +91,7 @@
9191
mem_after_lanczos = proc.memory_info().rss / 1024 / 1024 # MB
9292
delta_mem_lanczos = mem_after_lanczos - mem_before_lanczos
9393
delta_t_lanczos = end_lanczos - begin_lanczos
94-
print(f'delta_t_lanczos: {delta_t_lanczos:.4f} s')
94+
print(f"delta_t_lanczos: {delta_t_lanczos:.4f} s")
9595

9696
print("Done. Now computing eigenvalues...")
9797
else:

0 commit comments

Comments
 (0)