projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa5a1a
)
Initializes TriggerInfo::polarity. Resolves CID 1172054. (#1358)
author
Tim King
<taking@cs.nyu.edu>
Tue, 14 Nov 2017 05:00:15 +0000
(21:00 -0800)
committer
GitHub
<noreply@github.com>
Tue, 14 Nov 2017 05:00:15 +0000
(21:00 -0800)
* Initializes TriggerInfo::polarity. Resolves CID
1172054
.
* Initializing to false explicitly.
src/theory/uf/equality_engine_types.h
patch
|
blob
|
history
diff --git
a/src/theory/uf/equality_engine_types.h
b/src/theory/uf/equality_engine_types.h
index b3b8ac7d6099ae9f8dfd77113abb90807c40b3b5..7cf25e8f6c4adae3c676f4f42c3971077de4ad84 100644
(file)
--- a/
src/theory/uf/equality_engine_types.h
+++ b/
src/theory/uf/equality_engine_types.h
@@
-351,11
+351,10
@@
struct TriggerInfo {
Node trigger;
/** Polarity of the trigger */
bool polarity;
- TriggerInfo() {}
+ TriggerInfo()
: polarity(false)
{}
TriggerInfo(Node trigger, bool polarity)
- : trigger(trigger), polarity(polarity) {}
- };
-
+ : trigger(trigger), polarity(polarity) {}
+};
} // namespace eq
} // namespace theory