Skip to content

Commit

Permalink
Fix finite difference typo from PaulaGarciaMolina/main
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjosegarciaripoll authored Jun 3, 2024
2 parents 1e30bed + 96a1da8 commit 731b88e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/seemps/analysis/finite_differences.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

import numpy as np

from ..operators import MPO
from ..register.transforms import mpo_weighted_shifts

Expand Down Expand Up @@ -54,6 +56,7 @@ def finite_differences_mpo(n, Δx, closed=True, **kwdargs):
),
(1, 11): (
[
-1 / 512,
-8 / 512,
-27 / 512,
-48 / 512,
Expand All @@ -62,6 +65,7 @@ def finite_differences_mpo(n, Δx, closed=True, **kwdargs):
48 / 512,
27 / 512,
8 / 512,
1 / 512,
],
[4, 3, 2, 1, -1, -2, -3, -4],
),
Expand Down

0 comments on commit 731b88e

Please sign in to comment.