projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da9610
)
Fix mismatched iterators (CID 1493892). (#4531)
author
Mathias Preiner
<mathias.preiner@gmail.com>
Tue, 26 May 2020 16:44:51 +0000
(09:44 -0700)
committer
GitHub
<noreply@github.com>
Tue, 26 May 2020 16:44:51 +0000
(11:44 -0500)
Issue found by coverity.
src/api/cvc4cpp.cpp
patch
|
blob
|
history
diff --git
a/src/api/cvc4cpp.cpp
b/src/api/cvc4cpp.cpp
index 052b62efce75bf1ff7e21114ecc6ce0838fb6c96..1ea421c4bbb3a1a04baa0daefd7275b75847439d 100644
(file)
--- a/
src/api/cvc4cpp.cpp
+++ b/
src/api/cvc4cpp.cpp
@@
-2354,7
+2354,7
@@
Sort Grammar::resolve()
addSygusConstructorTerm(dtDecl, consTerm, ntsToUnres);
}
- if (d_allowVars.find(ntSym) != d_allow
Const
.cend())
+ if (d_allowVars.find(ntSym) != d_allow
Vars
.cend())
{
addSygusConstructorVariables(dtDecl, ntSym.d_expr->getType());
}