ref: 3484982128cc972ffac988ed8dfa23fc6aaf50f4
parent: c06740c30c8ebf1e07298e14c3e70a688d12c6ca
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Dec 28 17:41:09 EST 2016
Vars have no subexpressions.
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -1378,6 +1378,9 @@
size_t i, nargs;
int isconst;
+ /* Ovar has no subexpressions */
+ if (exprop(n) == Ovar)
+ return;
args = n->expr.args;
nargs = n->expr.nargs;
isconst = 1;