Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jobo322 committed Aug 24, 2022
1 parent 6799f90 commit 7321cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/gaussian.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,5 @@ function addMissingID(peaks, expected) {
for (let i = 0; i < expected.length; i++) {
expected[i].id = peaks[i].id;
}
return expected
}
return expected;
}
2 changes: 1 addition & 1 deletion src/post/optimizePeaksWithLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function optimizePeaksWithLogs<T extends Peak>(
message: 'optimization successful',
});
} else {
results.push(...peaks as GSDPeakOptimizedIDOrNot<T>[]);
results.push(...(peaks as GSDPeakOptimizedIDOrNot<T>[]));
logs.push({
...log,
iterations: 0,
Expand Down

0 comments on commit 7321cd5

Please sign in to comment.