Skip to content

Commit

Permalink
Black example & fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Jul 15, 2024
1 parent 7e2c9f3 commit c04c924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/01_random_field/08_fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
x = np.linspace(0, L, 256, endpoint=False)
y = np.linspace(0, L, 128, endpoint=False)

Now, we create a Gaussian covariance model with a correlation length which is
# Now, we create a Gaussian covariance model with a correlation length which is
# roughly half the size of the grid.
model = gs.Gaussian(dim=2, var=1, len_scale=200)

Expand Down
2 changes: 1 addition & 1 deletion examples/01_random_field/09_fourier_trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
srf = gs.SRF(
model,
generator="Fourier",
period=[L[0], L[1]/2],
period=[L[0], L[1] / 2],
mode_no=[30, 20],
seed=1681903,
)
Expand Down

0 comments on commit c04c924

Please sign in to comment.