Skip to content

Commit

Permalink
fix: add default value to source_depth in OptimalEqSourceParams
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Aug 2, 2024
1 parent 789167b commit 03b828e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invert4geom/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ def __call__(self, trial: optuna.trial) -> float:
self.source_depth_limits[1],
)
else:
source_depth = self.kwargs.get("source_depth", None)
source_depth = self.kwargs.get("source_depth", "default")
kwargs_to_remove.append("source_depth")

if self.block_size_limits is not None:
Expand Down

0 comments on commit 03b828e

Please sign in to comment.