Skip to content

Commit 98a70e2

Browse files
Merge pull request #63 from DennisGoldfarb/master
Fixes #62
2 parents e42239e + 1e332d9 commit 98a70e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/ucsd/msjava/msutil/Spectrum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public Spectrum getDeconvolutedSpectrum(float toleranceBetweenIsotopes) {
557557

558558
Spectrum deconvSpec = this.getCloneWithoutPeakList();
559559
boolean[] ignore = new boolean[this.size()];
560-
for (int i = 0; i < this.size() - 1; i++) {
560+
for (int i = 0; i < this.size(); i++) {
561561
if (ignore[i])
562562
continue;
563563
Peak p = this.get(i);

0 commit comments

Comments
 (0)