Skip to content

Commit

Permalink
[FIX] flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Oct 15, 2023
1 parent 570b187 commit 413e815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/basic_usage/example_model_merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ def make_dataset() -> TensorDataset:
# term:

dim = fishers[0].shape[0]
I = sparse.eye(dim)
identity = sparse.eye(dim)
damping = 1e-3

fisher_sum = aslinearoperator(damping * I)
fisher_sum = aslinearoperator(damping * identity)

for fisher in fishers:
fisher_sum += fisher
Expand Down

0 comments on commit 413e815

Please sign in to comment.