Skip to content

Commit

Permalink
Fix exception text
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Jul 9, 2024
1 parent f1e7f7c commit 6e709f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gstools/field/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def update(self, model=None, seed=np.nan, period=None, mode_no=None):
self.seed = seed
else:
raise ValueError(
"gstools.field.generator.RandMeth: no 'model' given"
"gstools.field.generator.Fourier: no 'model' given"
)
# but also update when mode mesh was modified
elif mode_no is not None or period is not None:
Expand Down

0 comments on commit 6e709f2

Please sign in to comment.