fix: division

This commit is contained in:
NunoSempere 2022-04-14 21:52:27 -04:00
parent 887e47a844
commit e5d19aa6ef

View File

@ -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");