A question uses a variable v to represent a variable which will be multiplied by a coefficient c.
They have some TeX: \simplify{ {c}{v} }.
Sometimes this should be a constant, so v = expression(""). This leads to v being an expression value whose tree attribute is null. Nothing is currently set up to expect a null value for the tree.
Before v7, substitution into \simplify was done by string interpolation of the JME rendering of the value, so this produced an empty string. Perhaps we should catch empty values at the point where the curly braces are replaced with subvars function calls.
A question uses a variable
v
to represent a variable which will be multiplied by a coefficientc
. They have some TeX:\simplify{ {c}{v} }
.Sometimes this should be a constant, so
v = expression("")
. This leads tov
being anexpression
value whosetree
attribute isnull
. Nothing is currently set up to expect a null value for the tree.Before v7, substitution into
\simplify
was done by string interpolation of the JME rendering of the value, so this produced an empty string. Perhaps we should catch empty values at the point where the curly braces are replaced withsubvars
function calls.