Skip to content

Commit

Permalink
Merge pull request #60 from stscirij/fix_arrayindices_all
Browse files Browse the repository at this point in the history
Fix problem with output data overflowing output array
  • Loading branch information
jotaylor authored Sep 29, 2023
2 parents e3108a1 + 7762770 commit e625efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ullyses/coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def create_output_wavelength_grid(self):

self.delta_wavelength = max_delta_wavelength

wavegrid = np.arange(self.min_wavelength, self.max_wavelength, self.delta_wavelength)
wavegrid = np.arange(self.min_wavelength, self.max_wavelength + self.delta_wavelength, self.delta_wavelength)

self.output_wavelength = wavegrid
self.nelements = len(wavegrid)
Expand Down

0 comments on commit e625efa

Please sign in to comment.