Skip to content

Commit

Permalink
Fix factor
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed May 31, 2024
1 parent 2c05f2f commit 456611b
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 @@ -792,7 +792,7 @@ def reset_seed(self, seed=np.nan):
# Cython, which doesn't have access to the CovModel
k_norm = np.linalg.norm(self._modes, axis=0)
self._spectrum_factor = np.sqrt(
2.0 * self._model.spectrum(k_norm) * np.prod(self._delta_k)
4.0 * self._model.spectrum(k_norm) * np.prod(self._delta_k)
)

def _fill_to_dim(
Expand Down

0 comments on commit 456611b

Please sign in to comment.