Skip to content

Commit

Permalink
Merge pull request #511 from m-brath/bugfix-star-regrid
Browse files Browse the repository at this point in the history
Fix bug in regrid_star_spectrum
  • Loading branch information
olemke committed Sep 2, 2022
2 parents 1e59431 + 0294e19 commit 873434e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/star.cc
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ Matrix regrid_star_spectrum(const GriddedField2 &star_spectrum_raw,
}

// Padding
if (i_fstart < 0 || f_extent == nf){
if (f_extent < nf){
if (temperature == -1){
ARTS_USER_ERROR(
"f_grid is (partially) outside the star spectrum data"
Expand Down

0 comments on commit 873434e

Please sign in to comment.