ml-spectra-processing
Advanced tools
Comparing version 6.7.0 to 6.7.1
# Changelog | ||
### [6.7.1](https://www.github.com/mljs/spectra-processing/compare/v6.7.0...v6.7.1) (2021-06-16) | ||
### Bug Fixes | ||
* **xyArrayAlignToFirst:** deal correctly with delta as function ([9cef8f4](https://www.github.com/mljs/spectra-processing/commit/9cef8f49bfa66acc17f66c2ddc62ee30f459d6f5)) | ||
## [6.7.0](https://www.github.com/mljs/spectra-processing/compare/v6.6.0...v6.7.0) (2021-06-16) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "ml-spectra-processing", | ||
"version": "6.7.0", | ||
"version": "6.7.1", | ||
"description": "Various method to process spectra", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -27,3 +27,5 @@ import { xyArrayWeightedMerge } from '../xyArrayWeightedMerge'; | ||
if (otherXs[currentPosition] < slot.from) { | ||
let currentDelta = deltaIsFunction ? otherXs(currentPosition) : delta; | ||
let currentDelta = deltaIsFunction | ||
? delta(otherXs[currentPosition]) | ||
: delta; | ||
slots.push({ | ||
@@ -39,3 +41,3 @@ from: otherXs[currentPosition] - currentDelta, | ||
for (let i = currentPosition; i < otherXs.length; i++) { | ||
let currentDelta = deltaIsFunction ? otherXs(i) : delta; | ||
let currentDelta = deltaIsFunction ? delta(otherXs[i]) : delta; | ||
slots.push({ | ||
@@ -42,0 +44,0 @@ from: otherXs[i] - currentDelta, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
261266
6978