ml-spectra-fitting
Advanced tools
Comparing version 0.7.0 to 0.7.1
# Changelog | ||
### [0.7.1](https://www.github.com/mljs/spectra-fitting/compare/v0.7.0...v0.7.1) (2020-11-14) | ||
### Bug Fixes | ||
* avoid inplace modification of shape option ([5d54fe3](https://www.github.com/mljs/spectra-fitting/commit/5d54fe36e926fad7dc36e8e41ff5fe3411d128b0)) | ||
## [0.7.0](https://www.github.com/mljs/spectra-fitting/compare/v0.6.0...v0.7.0) (2020-11-13) | ||
@@ -4,0 +11,0 @@ |
@@ -144,3 +144,3 @@ 'use strict'; | ||
shape.kind = mlPeakShapeGenerator.getKind(shape.kind); | ||
let kind = mlPeakShapeGenerator.getKind(shape.kind); | ||
@@ -157,3 +157,3 @@ let x = data.x; | ||
let paramsFunc; | ||
switch (shape.kind) { | ||
switch (kind) { | ||
case 1: | ||
@@ -160,0 +160,0 @@ nbParams = 3; |
{ | ||
"name": "ml-spectra-fitting", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Fit spectra using gaussian or lorentzian", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -34,3 +34,3 @@ import getMaxValue from 'ml-array-max'; | ||
shape.kind = getKind(shape.kind); | ||
let kind = getKind(shape.kind); | ||
@@ -47,3 +47,3 @@ let x = data.x; | ||
let paramsFunc; | ||
switch (shape.kind) { | ||
switch (kind) { | ||
case 1: | ||
@@ -50,0 +50,0 @@ nbParams = 3; |
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
28575