Sometimes, when attempting to add multivectors together inside of an inline function, one of the arguments is converted to a string, resulting in the entire expression turning into a string after + is interpreted as string concatenation. I haven't found out exactly when this happens, but it seems that even something like adding or removing a comment without changing anything else can cause this to occur.
Example where this happens: https://enkimute.github.io/ganja.js/examples/coffeeshop.html#lIXdhUhvx4. Removing the line
+ from.e02*1e02 + 0.2*1e20
causes the expression to be interpreted correctly. But removing the line, then adding several comments within the same expression, causes it to be coerced to a string.
Sometimes, when attempting to add multivectors together inside of an inline function, one of the arguments is converted to a string, resulting in the entire expression turning into a string after
+is interpreted as string concatenation. I haven't found out exactly when this happens, but it seems that even something like adding or removing a comment without changing anything else can cause this to occur.Example where this happens: https://enkimute.github.io/ganja.js/examples/coffeeshop.html#lIXdhUhvx4. Removing the line
causes the expression to be interpreted correctly. But removing the line, then adding several comments within the same expression, causes it to be coerced to a string.