Skip to content
Snippets Groups Projects
Commit f56ae705 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

fix bug in symb_id when diff'd expr is not a VariableNode

parent 9885fbac
Branches
No related tags found
No related merge requests found
...@@ -732,7 +732,7 @@ SymbolTable::addDiffAuxiliaryVar(int index, expr_t expr_arg, int orig_symb_id, i ...@@ -732,7 +732,7 @@ SymbolTable::addDiffAuxiliaryVar(int index, expr_t expr_arg, int orig_symb_id, i
int int
SymbolTable::addDiffAuxiliaryVar(int index, expr_t expr_arg) throw (FrozenException) SymbolTable::addDiffAuxiliaryVar(int index, expr_t expr_arg) throw (FrozenException)
{ {
return addDiffAuxiliaryVar(index, expr_arg, 0, 0); return addDiffAuxiliaryVar(index, expr_arg, -1, 0);
} }
int int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment