fix: division
This commit is contained in:
parent
887e47a844
commit
e5d19aa6ef
2
index.js
2
index.js
|
@ -74,7 +74,7 @@ let transformerInner = (string) => {
|
||||||
let mean2 = factors[1][0];
|
let mean2 = factors[1][0];
|
||||||
let std2 = factors[1][1];
|
let std2 = factors[1][1];
|
||||||
|
|
||||||
let newMean = mean1 + mean2;
|
let newMean = mean1 - mean2;
|
||||||
let newStd = Math.sqrt(std1 ** 2 + std2 ** 2);
|
let newStd = Math.sqrt(std1 ** 2 + std2 ** 2);
|
||||||
return createLogarithmNode(newMean, newStd);
|
return createLogarithmNode(newMean, newStd);
|
||||||
return new math.SymbolNode("xx");
|
return new math.SymbolNode("xx");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user