Skip to content

Commit

Permalink
fix upper bounds to 1.5 times grid limit
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed May 12, 2021
1 parent f82bec7 commit 35ebfa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pysme/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ def get_bounds(self, sme):
bounds["teff"] = teff

logg = np.unique(atmo_grid.logg)
logg = np.min(logg), np.inf
logg = np.min(logg), np.max(logg) * 1.5
bounds["logg"] = logg

monh = np.unique(atmo_grid.monh)
monh = np.min(monh), np.inf
monh = np.min(monh), np.max(monh) * 1.5
bounds["monh"] = monh
elif ext == ".krz":
# krz atmospheres are fixed to one parameter set
Expand Down

0 comments on commit 35ebfa4

Please sign in to comment.