Closed aniketkotal closed 1 year ago
@cortex-js/compute-engine: v0.8.0 from npm vue: v3.2.40 Minimal Stackblitz demo: https://stackblitz.com/edit/vue-5kqpdv?file=src/App.vue
@cortex-js/compute-engine
v0.8.0
vue
v3.2.40
Substituting any variable, say V, replaces V in unrelated variables such as V_1, V_N
V
V_1
V_N
Only the substituted variable should be affected
V-V_a
Equation: V-V_a Variables: V: 6, V_a: 4 Expected Output: 2 Actual Output: Evaluation: 2-2_{a}
V: 6, V_a: 4
2
Evaluation: 2-2_{a}
That should be fixed in the main branch.
What's happening
Substituting any variable, say
V
, replacesV
in unrelated variables such asV_1
,V_N
What should happen
Only the substituted variable should be affected
Steps to Reproduce
V-V_a
)V
with a value.Quick Demonstration
Equation:
V-V_a
Variables:V: 6, V_a: 4
Expected Output:2
Actual Output:Evaluation: 2-2_{a}