mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-26 09:29:30 +02:00
Fix invalid extra outputs depending on solve for selection
This commit is contained in:
@@ -518,7 +518,6 @@ export default async function makeTool(
|
|||||||
let expr = nerdamer(extraOutput.formula);
|
let expr = nerdamer(extraOutput.formula);
|
||||||
|
|
||||||
Object.keys(values.vars).forEach((key) => {
|
Object.keys(values.vars).forEach((key) => {
|
||||||
if (key === values.outputVariable) return;
|
|
||||||
expr = expr.sub(key, values.vars[key].value.toString());
|
expr = expr.sub(key, values.vars[key].value.toString());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user