Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
tuelwer committed May 4, 2021
1 parent 87062b2 commit e5b1e86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 8 additions & 1 deletion benchmarks/solve_amgcl.py
Expand Up @@ -24,7 +24,14 @@


def solve_amgcl_csr(
csr_values, csr_indices, csr_indptr, b, x=None, atol=1e-10, rtol=0, maxiter=10000,
csr_values,
csr_indices,
csr_indptr,
b,
x=None,
atol=1e-10,
rtol=0,
maxiter=10000,
):
assert csr_values.flags["C_CONTIGUOUS"]
assert csr_indices.flags["C_CONTIGUOUS"]
Expand Down
7 changes: 6 additions & 1 deletion benchmarks/solve_eigen.py
Expand Up @@ -35,7 +35,12 @@


def solve_eigen_icholt_coo(
coo_data, row, col, b, rtol=1e-10, initial_shift=0.01,
coo_data,
row,
col,
b,
rtol=1e-10,
initial_shift=0.01,
):
assert coo_data.flags["C_CONTIGUOUS"]
assert row.flags["C_CONTIGUOUS"]
Expand Down

0 comments on commit e5b1e86

Please sign in to comment.